Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 18:12:57 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307874 - head/sys/ufs/ffs
Message-ID:  <201610241812.u9OICvSF047972@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Mon Oct 24 18:12:57 2016
New Revision: 307874
URL: https://svnweb.freebsd.org/changeset/base/307874

Log:
  Include <sys/types.h> explicitly instead of depending on that
  header being included by <sys/param.h>. When compiled as part
  of makefs(8) and on macOS or Linux, <sys/param.h> is not our
  own.

Modified:
  head/sys/ufs/ffs/ffs_tables.c

Modified: head/sys/ufs/ffs/ffs_tables.c
==============================================================================
--- head/sys/ufs/ffs/ffs_tables.c	Mon Oct 24 18:03:04 2016	(r307873)
+++ head/sys/ufs/ffs/ffs_tables.c	Mon Oct 24 18:12:57 2016	(r307874)
@@ -33,6 +33,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
+#include <sys/types.h>
 #include <ufs/ufs/dinode.h>
 #include <ufs/ffs/fs.h>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610241812.u9OICvSF047972>