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>
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to