[PATCH] Include stdlib.h in sysconf.c

Jakub Jelinek jakub@redhat.com
Fri Feb 27 11:13:00 GMT 2004


Hi!

strtol needs a prototype...

2004-02-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sysconf.c: Include stdlib.h.

--- libc/sysdeps/unix/sysv/linux/sysconf.c.jj	2004-02-27 12:07:17.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/sysconf.c	2004-02-27 12:08:19.769028686 +0100
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include <fcntl.h>
+#include <stdlib.h>
 #include <sysdep.h>
 #include <time.h>
 #include <unistd.h>

	Jakub



More information about the Libc-hacker mailing list