Whamcloud - gitweb
merge b_devel into b_setattr. highlights:
authorpschwan <pschwan>
Mon, 17 Feb 2003 18:43:43 +0000 (18:43 +0000)
committerpschwan <pschwan>
Mon, 17 Feb 2003 18:43:43 +0000 (18:43 +0000)
- kernel 2.5 and liblustre build changes
- fixes to Makefile.am for 7.3-era versions of automake, which is quite possibly
  the worst piece of software with which I come in contact on a daily basis
- small unlink fix

lustre/obdclass/uuid.c

index 0e279fb..fed9a8f 100644 (file)
  * Library General Public License.
  * %End-Header%
  */
+#define DEBUG_SUBSYSTEM S_CLASS
+
+#ifdef __KERNEL__
 #include <linux/ctype.h>
 #include <linux/kernel.h>
-
-#define DEBUG_SUBSYSTEM S_CLASS
+#else 
+#include <liblustre.h>
+#endif
 
 #include <linux/obd_support.h>
 #include <linux/obd_class.h>