for strtol and errno, and do not include "defines.h" (not needed).
+2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
+ for strtol and errno, and do not include "defines.h" (not needed).
+
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
* src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
#ident "$Id$"
+#include <stdlib.h>
+#include <errno.h>
#include "prototypes.h"
-#include "defines.h"
int getlong (const char *numstr, long int *result)
{