From: nekral-guest Date: Fri, 10 Apr 2009 22:34:17 +0000 (+0000) Subject: * libmisc/getlong.c: Include both and needed X-Git-Tag: 4.1.3~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1675ca337818b16c5d165fcb37b7d9043ef7696e;p=shadow * libmisc/getlong.c: Include both and needed for strtol and errno, and do not include "defines.h" (not needed). --- diff --git a/ChangeLog b/ChangeLog index 99be15cb..5b4ce3c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-06 Nicolas François + + * libmisc/getlong.c: Include both and needed + for strtol and errno, and do not include "defines.h" (not needed). + 2009-04-06 Nicolas François * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c, diff --git a/libmisc/getlong.c b/libmisc/getlong.c index 48914b37..7f4c7d7c 100644 --- a/libmisc/getlong.c +++ b/libmisc/getlong.c @@ -31,8 +31,9 @@ #ident "$Id$" +#include +#include #include "prototypes.h" -#include "defines.h" int getlong (const char *numstr, long int *result) {