Openwrt/package/boot/kobs-ng/patches/004-gnu_source.patch
Felix Fietkau 97abe48112 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>