From: Jonas 'Sortie' Termansen Date: Tue, 26 Aug 2014 14:41:11 +0000 (+0200) Subject: Add missing #if HAVE_SYS_PARAM_H X-Git-Tag: v0.19.2.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3b43b4f46df9fd7b2afde55de8720854622ba14;p=thirdparty%2Fgettext.git Add missing #if HAVE_SYS_PARAM_H --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 6a210e417..241eaf448 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,7 @@ +2014-08-27 Jonas 'Sortie' Termansen (tiny change) + + * hostname.c: Add guard around #include . + 2014-07-14 Daiki Ueno * gettext 0.19.2 released. diff --git a/gettext-tools/src/hostname.c b/gettext-tools/src/hostname.c index 76558e029..a7032b327 100644 --- a/gettext-tools/src/hostname.c +++ b/gettext-tools/src/hostname.c @@ -46,7 +46,9 @@ #endif /* Get MAXHOSTNAMELEN. */ -#include +#if HAVE_SYS_PARAM_H +# include +#endif #ifndef MAXHOSTNAMELEN # define MAXHOSTNAMELEN 64 #endif