From 667988ce9e2a051ff608b727f6c89a5baa01fa67 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Mon, 28 Aug 2017 11:44:19 +0800 Subject: [PATCH] Fix _GNU_SOURCE redefined warning --- src/cc/libbpf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc/libbpf.c b/src/cc/libbpf.c index 0da8e2c0..928d7d79 100644 --- a/src/cc/libbpf.c +++ b/src/cc/libbpf.c @@ -13,7 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include -- 2.34.1