kobs-ng: fix compile errors
[openwrt.git] / package / boot / kobs-ng / patches / 004-gnu_source.patch
1 --- a/src/plat_boot_config.c
2 +++ b/src/plat_boot_config.c
3 @@ -18,6 +18,7 @@
4  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5  */
6  
7 +#define _GNU_SOURCE
8  #include <stdio.h>
9  #include <stdlib.h>
10  #include <string.h>