]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Replace glibc header with equivalent kernel header, which fixes a compile
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 14 Oct 2004 11:20:19 +0000 (11:20 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 14 Oct 2004 11:20:19 +0000 (11:20 +0000)
problem seen by Sefer Tov.

MERGED FROM HEAD

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_2_2_0_BRANCH@2768

coregrind/vg_unsafe.h

index f1019b167d2c57819da4eb5c3343623b36463df5..280390901257d9dbe87f091fbaa649cdc9c8ef73 100644 (file)
@@ -47,7 +47,7 @@
 #include <sys/socket.h>   /* for struct msghdr */
 #include <linux/sockios.h>/* for SIOCOUTQ */
 #include <sys/un.h>       /* for sockaddr_un */
-#include <net/if.h>       /* for struct ifreq et al */
+#include <linux/if.h>     /* for struct ifreq et al */
 #include <net/if_arp.h>   /* for struct arpreq */
 #include <net/route.h>    /* for struct rtentry */
 #ifdef HAVE_LINUX_COMPILER_H