git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx: fix compilation with glibc 2.20
[dpdk.git]
/
drivers
/
net
/
mlx4
/
Makefile
diff --git
a/drivers/net/mlx4/Makefile
b/drivers/net/mlx4/Makefile
index
d2f5692
..
4d16343
100644
(file)
--- a/
drivers/net/mlx4/Makefile
+++ b/
drivers/net/mlx4/Makefile
@@
-48,6
+48,8
@@
CFLAGS += -O3
CFLAGS += -std=gnu99 -Wall -Wextra
CFLAGS += -g
CFLAGS += -I.
+CFLAGS += -D_BSD_SOURCE
+CFLAGS += -D_DEFAULT_SOURCE
CFLAGS += -D_XOPEN_SOURCE=600
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -libverbs