missing include
>getopt.c:386:30: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; > ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 386 | if (optind != argc && !strcmp (argv[optind], "--")) > | ^ Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
@@ -52,6 +52,7 @@ char *alloca ();
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* Comment out all this code if we are using the GNU C Library, and are not
|
||||
actually compiling the library itself. This code is part of the GNU C
|
||||
|
Reference in New Issue
Block a user