diff options
Diffstat (limited to 'pfinet/pfinet.h')
-rw-r--r-- | pfinet/pfinet.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pfinet/pfinet.h b/pfinet/pfinet.h index f8a1dd8d..df8da526 100644 --- a/pfinet/pfinet.h +++ b/pfinet/pfinet.h @@ -29,7 +29,12 @@ #include <sys/mman.h> #include <sys/socket.h> #include <pthread.h> -#include "route.h" + +/* Unfortunately the Linux source also uses <net/route.h>. + * Here we want the glibc-provided one only */ +#define _ROUTE_H +#include <net/route.h> +#undef _ROUTE_H extern pthread_mutex_t global_lock; extern pthread_mutex_t net_bh_lock; |