summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src/main.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-04-26 18:39:56 +0200
committerDamjan Marion <damarion@cisco.com>2018-04-26 18:40:16 +0200
commit2cdc2bde9596a4478a48fe329e4bf21b1de6dc8a (patch)
tree608d90729f0f7da45f391dd5d710a462132cb2a0 /extras/libmemif/src/main.c
parent35dfedc55fe40c781278ca04789b5ecc4c56e9c2 (diff)
libmemif: fix build on ununtu 18.04 (VPP-1244)
Change-Id: If830dc0c8171b14c8a686db899885e26628a6f91 Signed-off-by: Damjan Marion <damarion@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 6048e4ef80e..d5a4319f131 100644
--- a/extras/libmemif/src/main.c
+++ b/extras/libmemif/src/main.c
@@ -15,6 +15,7 @@
*------------------------------------------------------------------
*/
+#define _GNU_SOURCE
#include <stdint.h>
#include <net/if.h>
#include <sys/types.h>