[PATCH] missing include in fxstatat64.c

Thorsten Kukuk kukuk@suse.de
Fri Nov 25 08:43:00 GMT 2005


Hi,

compiling current glibc I get:

../sysdeps/unix/sysv/linux/fxstatat64.c: In function '__fxstatat64':
../sysdeps/unix/sysv/linux/fxstatat64.c:59: warning: implicit declaration of function 'strlen'


2005-11-25  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/unix/sysv/linux/fxstatat64.c: include string.h


--- sysdeps/unix/sysv/linux/fxstatat64.c
+++ sysdeps/unix/sysv/linux/fxstatat64.c   2005/11/24 10:05:18
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/stat.h>
 #include <kernel_stat.h>


-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk@suse.de
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B



More information about the Libc-hacker mailing list