openwrt_archive/package/boot/kobs-ng/patches/004-gnu_source.patch
Felix Fietkau 52ab73106b kobs-ng: fix compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47332
2015-11-01 12:38:38 +00:00

11 lines
228 B
Diff

--- a/src/plat_boot_config.c
+++ b/src/plat_boot_config.c
@@ -18,6 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>