mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
Fix compiler warning in imximage.c due to getline prototype
imximage.c: In function 'imximage_parse_cfg_file': imximage.c:142: warning: implicit declaration of function 'getline' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
797312a15e
commit
249d4dec69
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@
|
|||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
/* Required to obtain the getline prototype from stdio.h */
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "mkimage.h"
|
||||
#include <image.h>
|
||||
#include "imximage.h"
|
||||
|
|
Loading…
Reference in a new issue