projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
137ee81
)
Fix _GNU_SOURCE redefined warning
author
Nan Xiao
<xiao_nan@dsi.a-star.edu.sg>
Mon, 28 Aug 2017 03:44:19 +0000
(11:44 +0800)
committer
Brenden Blanco
<bblanco@gmail.com>
Mon, 28 Aug 2017 04:18:52 +0000
(21:18 -0700)
src/cc/libbpf.c
patch
|
blob
|
history
diff --git
a/src/cc/libbpf.c
b/src/cc/libbpf.c
index
0da8e2c
..
928d7d7
100644
(file)
--- 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 <arpa/inet.h>
#include <errno.h>