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:
Nicolas PARLANT
2025-07-28 18:09:41 +02:00
parent b93a60572b
commit ba1513796b

View File

@@ -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