Skip to content

Commit

Permalink
simplify string.h inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisThielemans committed Jan 8, 2023
1 parent cccfb45 commit c6e0146
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/buildblock/getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string.h>
# else
# include <strings.h>
# endif
#include <string.h>

/* Avoid depending on library functions or files
whose names are inconsistent. */
Expand Down

0 comments on commit c6e0146

Please sign in to comment.