Skip to content

Commit 24824bb

Browse files
committed
Not string.h but strings.h!
1 parent 4fdf3a8 commit 24824bb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ check_include_file(stdint.h HAVE_STDINT_H)
220220
check_include_file(stdio.h HAVE_STDIO_H)
221221
check_include_file(stdlib.h HAVE_STDLIB_H)
222222
check_include_file(string.h HAVE_STRING_H)
223+
check_include_file(strings.h HAVE_STRINGS_H)
223224
check_include_file(time.h HAVE_TIME_H)
224225
check_include_file(unistd.h HAVE_UNISTD_H)
225226

src/gldns/parse.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include <limits.h>
1616
#include <stdlib.h>
17-
#ifdef HAVE_STRING_H
17+
#ifdef HAVE_STRINGS_H
1818
#include <strings.h>
1919
#endif
2020

0 commit comments

Comments
 (0)