summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src/main.c
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2018-04-20 09:20:50 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-24 18:40:01 +0000
commit435f50021556a6be34de972605ed62cbaf3d739e (patch)
treecfecdd98ac83c3920c569d91bd99f5b9aac26398 /extras/libmemif/src/main.c
parentce2db6a6a49be72e58f3394884f9dfda2383c0b8 (diff)
libmemif: fix implicit declaration of memfd_create
Change-Id: Icdeaad1d5df63bd5e9426958a3b73582bbd226b7 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'extras/libmemif/src/main.c')
-rw-r--r--extras/libmemif/src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/libmemif/src/main.c b/extras/libmemif/src/main.c
index d0c1087e4a9..6048e4ef80e 100644
--- a/extras/libmemif/src/main.c
+++ b/extras/libmemif/src/main.c
@@ -44,6 +44,7 @@
#include <sys/timerfd.h>
#include <sys/epoll.h>
#include <signal.h>
+#include <linux/memfd.h>
/* memif protocol msg, ring and descriptor definitions */
#include <memif.h>