Skip to content

Commit c6e0146

Browse files
simplify string.h inclusion
1 parent cccfb45 commit c6e0146

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/buildblock/getopt.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,7 @@ static char *posixly_correct;
202202
# define my_index strchr
203203
#else
204204

205-
# if HAVE_STRING_H || WIN32 /* Pete Wilson mod 7/28/02 */
206-
# include <string.h>
207-
# else
208-
# include <strings.h>
209-
# endif
205+
#include <string.h>
210206

211207
/* Avoid depending on library functions or files
212208
whose names are inconsistent. */

0 commit comments

Comments
 (0)