[PVFS2-CVS] commit by neill in pvfs2/include: pvfs2-debug.h

CVS commit program cvs at parl.clemson.edu
Fri Sep 3 12:05:36 EDT 2004


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

Modified Files:
	pvfs2-debug.h 
Log Message:
- keeps kernel modulecompilation working after recent changes


Index: pvfs2-debug.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-debug.h,v
diff -p -u -r1.35 -r1.36
--- pvfs2-debug.h	3 Sep 2004 15:02:31 -0000	1.35
+++ pvfs2-debug.h	3 Sep 2004 15:05:36 -0000	1.36
@@ -12,7 +12,11 @@
 #ifndef __PVFS2_DEBUG_H
 #define __PVFS2_DEBUG_H
 
+#ifdef __KERNEL__
+#include <linux/types.h>
+#else
 #include <stdint.h>
+#endif
 
 #define GOSSIP_NO_DEBUG                (uint64_t)0
 #define GOSSIP_BMI_DEBUG_TCP           ((uint64_t)1 << 0)



More information about the PVFS2-CVS mailing list