diff --git a/config.h.cmake.in b/config.h.cmake.in
index 6c8660c..8c3088e 100644
--- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -268,7 +268,10 @@
 #define HAVE_STRING_H 1
 
 /* Define to 1 if you have the `strsep' function. */
-#undef HAVE_STRSEP
+#cmakedefine HAVE_STRSEP
+
+/* Define to 1 if you have the `strtok_r' function. */
+#cmakedefine HAVE_STRTOK_R
 
 /* Define to 1 if you have the `syslog' function. */
 #cmakedefine HAVE_SYSLOG
