[PATCH] Fix bug-if1 compilation
Jakub Jelinek
jakub@redhat.com
Mon Jun 28 20:06:00 GMT 2004
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
More information about the Libc-hacker
mailing list