Skip to content

Commit 9776d5d

Browse files
author
bol-van
committed
nfqws: old gcc 4.x compat
1 parent f88c9a6 commit 9776d5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nfq/darkmagic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <linux/genetlink.h>
3535
#include <libmnl/libmnl.h>
3636
#include <net/if.h>
37+
#define _LINUX_IF_H // prevent conflict between linux/if.h and net/if.h in old gcc 4.x
3738
#include <linux/wireless.h>
3839
#include <sys/ioctl.h>
3940
#endif

0 commit comments

Comments
 (0)