diff options
Diffstat (limited to 'wgetopt.cpp')
-rw-r--r-- | wgetopt.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/wgetopt.cpp b/wgetopt.cpp index 2d2117f6..4e4a7241 100644 --- a/wgetopt.cpp +++ b/wgetopt.cpp @@ -61,12 +61,7 @@ #include <stdio.h> #include <wchar.h> - -#include <unistd.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <dirent.h> - +#include "common.h" /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ @@ -92,7 +87,7 @@ #include "wgetopt.h" #include "wutil.h" -#include "fallback.h" +#include "fallback.h" // IWYU pragma: keep @@ -198,7 +193,7 @@ static char *posixly_correct; because there are many ways it can cause trouble. On some systems, it contains special magic macros that don't work in GCC. */ -#include <string.h> +#include <string.h> // IWYU pragma: keep #define my_index wcschr #else |