Skip to content
Snippets Groups Projects
Commit 3c1f20d0 authored by Alexandru Ardelean's avatar Alexandru Ardelean Committed by John Crispin
Browse files

libnl-tiny: define _GNU_SOURCE if not defined


If _GNU_SOURCE was added as part of a package's TARGET_CFLAGS,
then compilation would fail for that module (especially if
warnings get treated as errors).

Signed-off-by: default avatarAlexandru Ardelean <ardeleanalex@gmail.com>
parent 4e1f7ad5
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,9 @@
#ifndef NETLINK_LOCAL_H_
#define NETLINK_LOCAL_H_
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <errno.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment