svn commit: r204118 - head/sys/amd64/include

Ed Schouten ed at FreeBSD.org
Sat Feb 20 13:33:51 UTC 2010


Author: ed
Date: Sat Feb 20 13:33:50 2010
New Revision: 204118
URL: http://svn.freebsd.org/changeset/base/204118

Log:
  Add <sys/cdefs.h>.
  
  This header file uses __packed, without including <sys/cdefs.h>. This
  means it cannot be used in the way described in sysarch(3) by only
  including <machine/sysarch.h>.

Modified:
  head/sys/amd64/include/sysarch.h

Modified: head/sys/amd64/include/sysarch.h
==============================================================================
--- head/sys/amd64/include/sysarch.h	Sat Feb 20 12:48:44 2010	(r204117)
+++ head/sys/amd64/include/sysarch.h	Sat Feb 20 13:33:50 2010	(r204118)
@@ -35,6 +35,8 @@
 #ifndef _MACHINE_SYSARCH_H_
 #define _MACHINE_SYSARCH_H_
 
+#include <sys/cdefs.h>
+
 #define I386_GET_LDT	0
 #define I386_SET_LDT	1
 #define	LDT_AUTO_ALLOC	0xffffffff


More information about the svn-src-head mailing list