From 24824bb413b46c1dcf4abc8d7ef934b320e92d52 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 20 Dec 2019 11:23:45 +0000 Subject: [PATCH] Not string.h but strings.h! --- CMakeLists.txt | 1 + src/gldns/parse.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef2c1c94..45e7a4fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -220,6 +220,7 @@ check_include_file(stdint.h HAVE_STDINT_H) check_include_file(stdio.h HAVE_STDIO_H) check_include_file(stdlib.h HAVE_STDLIB_H) check_include_file(string.h HAVE_STRING_H) +check_include_file(strings.h HAVE_STRINGS_H) check_include_file(time.h HAVE_TIME_H) check_include_file(unistd.h HAVE_UNISTD_H) diff --git a/src/gldns/parse.c b/src/gldns/parse.c index 89b37090..59d83b86 100644 --- a/src/gldns/parse.c +++ b/src/gldns/parse.c @@ -14,7 +14,7 @@ #include #include -#ifdef HAVE_STRING_H +#ifdef HAVE_STRINGS_H #include #endif