X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost_xen%2FMakefile;h=47e14898a20f2a8cd51c92bbb4546e45cdf69246;hb=84fb2e67adc6cf27f9eb4b3222c98ea3b2885859;hp=e6fa1a1ded67d4f32885ca2b4ff696fd847c695f;hpb=3031749c2df04a63cdcef186dcce3781e61436e8;p=dpdk.git diff --git a/examples/vhost_xen/Makefile b/examples/vhost_xen/Makefile index e6fa1a1ded..47e14898a2 100644 --- a/examples/vhost_xen/Makefile +++ b/examples/vhost_xen/Makefile @@ -46,6 +46,7 @@ SRCS-y := main.c vhost_monitor.c xenstore_parse.c CFLAGS += -O2 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -Wno-unused-parameter CFLAGS += $(WERROR_FLAGS) +CFLAGS += -D_GNU_SOURCE LDFLAGS += -lxenstore include $(RTE_SDK)/mk/rte.extapp.mk