- 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
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#define DEBUG_SUBSYSTEM S_RPC
+#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kmod.h>
-
-#define DEBUG_SUBSYSTEM S_RPC
+#else
+#include <liblustre.h>
+#endif
#include <linux/lustre_ha.h>
#include <linux/lustre_net.h>