From 17ee8b17f91988a3beedbd96eec4642e784f3251 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 26 Oct 2000 20:45:58 +0000 Subject: [PATCH] ChangeLog, mkjournal.c: mkjournal.c: Add #include of netinet/in.h, since Solaris requires it for ntohl(). --- lib/ext2fs/ChangeLog | 3 +++ lib/ext2fs/mkjournal.c | 3 +++ 2 files changed, 6 insertions(+) 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" -- 1.8.3.1