Out of tree builds use local include file
[nbd-module.git] / nbd.c
diff --git a/nbd.c b/nbd.c
index e6fc716..0eeed20 100644 (file)
--- a/nbd.c
+++ b/nbd.c
 #include <asm/system.h>
 #include <asm/types.h>
 
+#ifdef NBD_OUTOFTREE
+#include "nbd.h"
+#else
 #include <linux/nbd.h>
+#endif
 
 #define LO_MAGIC 0x68797548