Whamcloud - gitweb
ChangeLog, mkjournal.c:
authorTheodore Ts'o <tytso@mit.edu>
Thu, 26 Oct 2000 20:45:58 +0000 (20:45 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Oct 2000 20:45:58 +0000 (20:45 +0000)
  mkjournal.c: Add #include of netinet/in.h, since Solaris requires it
   for ntohl().

lib/ext2fs/ChangeLog
lib/ext2fs/mkjournal.c

index 5a646b8..aebf9c1 100644 (file)
@@ -1,5 +1,8 @@
 2000-10-26    <tytso@snap.thunk.org>
 
+       * mkjournal.c: Add #include of netinet/in.h, since Solaris
+               requires it for ntohl().
+
        * ext2_io.h (io_channel_write_byte): Add new interface to allow
                callers to write specific byte ranges.  This is an
                optional interface, which not all IO channels may
index 31a20e3..2ef427a 100644 (file)
@@ -25,6 +25,9 @@
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 
 #if EXT2_FLAT_INCLUDES
 #include "ext2_fs.h"