From c6e014662e13dba9b40abac48d99bc85e4564991 Mon Sep 17 00:00:00 2001 From: Kris Thielemans Date: Sun, 8 Jan 2023 10:55:28 +0000 Subject: [PATCH] simplify string.h inclusion --- src/buildblock/getopt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/buildblock/getopt.c b/src/buildblock/getopt.c index fff1f5164..45f20b616 100644 --- a/src/buildblock/getopt.c +++ b/src/buildblock/getopt.c @@ -202,11 +202,7 @@ static char *posixly_correct; # define my_index strchr #else -# if HAVE_STRING_H || WIN32 /* Pete Wilson mod 7/28/02 */ -# include -# else -# include -# endif +#include /* Avoid depending on library functions or files whose names are inconsistent. */