This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix bug-if1 compilation


Hi!

bug-if1 lacks a prototype for strerror_r.
FYI: the test fails for me on about 50% of the test boxes
with invalid index returned result "eth1" (with interface names which are
down).

2004-06-28  Jakub Jelinek  <jakub@redhat.com>

	* inet/bug-if1.c: Include string.h.

--- libc/inet/bug-if1.c.jj	2004-06-28 21:57:38.000000000 +0200
+++ libc/inet/bug-if1.c	2004-06-28 22:01:07.704852046 +0200
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <limits.h>
 #include <stdio.h>
+#include <string.h>
 #include <net/if.h>
 
 
	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]