Whamcloud - gitweb
ChangeLog, jfs.h, jfs_compat.h:
[tools/e2fsprogs.git] / include / linux / jfs_compat.h
index 8d87753..1318198 100644 (file)
@@ -4,6 +4,9 @@
 
 #include <linux/list.h>
 #include <errno.h>
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 
 #define printk printf
 #define KERN_ERR ""
@@ -53,4 +56,9 @@ struct journal_s
 
 #define is_journal_abort(x) 0
 
+/* Need this so we can compile with configure --enable-gcc-wall */
+#ifdef NO_INLINE_FUNCS
+#define inline
+#endif
+
 #endif /* _JFS_COMPAT_H */