From: Theodore Ts'o Date: Thu, 26 Oct 2000 20:45:58 +0000 (+0000) Subject: ChangeLog, mkjournal.c: X-Git-Tag: E2FSPROGS-1_20~219 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=17ee8b17f91988a3beedbd96eec4642e784f3251;p=tools%2Fe2fsprogs.git ChangeLog, mkjournal.c: mkjournal.c: Add #include of netinet/in.h, since Solaris requires it for ntohl(). --- diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 5a646b8..aebf9c1 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 31a20e3..2ef427a 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"