diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 5a646b85..aebf9c1e 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,5 +1,8 @@ 2000-10-26 + * 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 diff --git a/lib/ext2fs/mkjournal.c b/lib/ext2fs/mkjournal.c index 31a20e3c..2ef427a7 100644 --- a/lib/ext2fs/mkjournal.c +++ b/lib/ext2fs/mkjournal.c @@ -25,6 +25,9 @@ #if HAVE_SYS_TYPES_H #include #endif +#if HAVE_NETINET_IN_H +#include +#endif #if EXT2_FLAT_INCLUDES #include "ext2_fs.h"