[PVFS2-CVS] commit by slang in pvfs2/include: pvfs2-types.h

CVS commit program cvs at parl.clemson.edu
Thu Nov 10 00:07:42 EST 2005


Update of /projects/cvsroot/pvfs2/include
In directory parlweb:/tmp/cvs-serv5126/include

Modified Files:
	pvfs2-types.h 
Log Message:
add back in removed #ifdef __KERNEL__ includes check.  Nice catch Robl!


Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.114 -r1.115
--- pvfs2-types.h	10 Nov 2005 01:26:55 -0000	1.114
+++ pvfs2-types.h	10 Nov 2005 05:07:41 -0000	1.115
@@ -15,9 +15,13 @@
 #ifndef __PVFS2_TYPES_H
 #define __PVFS2_TYPES_H
 
+#ifdef __KERNEL__
+#include <linux/types.h>
+#else
 #include <stdint.h>
 #include <sys/stat.h>
 #include <sys/time.h>
+#endif /* __KERNEL__ */
 
 #ifndef INT32_MAX
 /* definition taken from stdint.h */



More information about the PVFS2-CVS mailing list