summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf_errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/bpf/libbpf_errno.c')
-rw-r--r--tools/lib/bpf/libbpf_errno.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf_errno.c b/tools/lib/bpf/libbpf_errno.c
index d83b17f8435c..4343e40588c6 100644
--- a/tools/lib/bpf/libbpf_errno.c
+++ b/tools/lib/bpf/libbpf_errno.c
@@ -7,6 +7,7 @@
* Copyright (C) 2017 Nicira, Inc.
*/
+#undef _GNU_SOURCE
#include <stdio.h>
#include <string.h>