summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-08-18 11:41:31 (GMT)
committerThomas Haller <thaller@redhat.com>2014-08-18 13:17:43 (GMT)
commit16e3d61689161c77feffe605259f9c0282234be9 (patch)
treea81d6549913f956ed8b8110473ac845a564f488a /tests
parent76237f6d63698d11d11cc7176f47f2b1b43c20a9 (diff)
downloadlibnl-16e3d61689161c77feffe605259f9c0282234be9.zip
libnl-16e3d61689161c77feffe605259f9c0282234be9.tar.gz
libnl-16e3d61689161c77feffe605259f9c0282234be9.tar.bz2
tests: build test-create-macvlan as part of `make check`
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/.gitignore1
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/test-create-macvlan.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index 7894d5a..0f55108 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -11,6 +11,7 @@
/test-create-ipgre
/test-create-ipip
/test-create-ipvti
+/test-create-macvlan
/test-create-sit
/test-create-veth
/test-create-vlan
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 85d93b8..0abf728 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -28,6 +28,7 @@ check_PROGRAMS = \
test-create-ipgre \
test-create-ipip \
test-create-ipvti \
+ test-create-macvlan \
test-create-sit \
test-create-ifb \
test-delete-link \
diff --git a/tests/test-create-macvlan.c b/tests/test-create-macvlan.c
index 6477923..d94839b 100644
--- a/tests/test-create-macvlan.c
+++ b/tests/test-create-macvlan.c
@@ -1,3 +1,5 @@
+#include <netinet/ether.h>
+
#include <netlink/netlink.h>
#include <netlink/route/link.h>
#include <netlink/route/link/macvlan.h>