summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-01-16 17:11:12 +0000
committerPatrick McHardy <kaber@trash.net>2014-01-16 17:11:12 +0000
commit001661033e177a5f580ff49de8d1a56a2e9b8cb8 (patch)
tree4aecf5fe214f91d213dc02860b8a2e01758d7d96
parent734eed347ff1b648b57940af482452d09337282c (diff)
parser: fix compilation breakage
Commit 0bd59cf4da (parser: fix parsing of ethernet protocol types) broke compilation: src/parser.y:26:22: fatal error: if_ether.h: No such file or directory Should be netinet/if_ether.h. Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r--src/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.y b/src/parser.y
index 23662f78..d4a79291 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -14,6 +14,7 @@
#include <stdio.h>
#include <inttypes.h>
#include <netinet/ip.h>
+#include <netinet/if_ether.h>
#include <linux/netfilter.h>
#include <linux/netfilter/nf_tables.h>
#include <linux/netfilter/nf_conntrack_tuple_common.h>
@@ -23,7 +24,6 @@
#include <expression.h>
#include <utils.h>
#include <parser.h>
-#include <if_ether.h>
#include <erec.h>
#include "parser.h"