Skip to content

Commit

Permalink
Fix _GNU_SOURCE redefined warning
Browse files Browse the repository at this point in the history
  • Loading branch information
NanXiao authored and drzaeus77 committed Aug 28, 2017
1 parent 137ee81 commit 667988c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cc/libbpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 667988c

Please sign in to comment.