summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/util.h b/util.h
index c21290b..c4fb5b6 100644
--- a/util.h
+++ b/util.h
@@ -28,6 +28,7 @@
#define _GNU_SOURCE
#endif
+#include "config.h"
#include <string.h>
#include <stdio.h>
@@ -57,6 +58,12 @@ int omit_unprintables(int c);
int omit_shellescapes(int c);
int omit_specialchars(int c);
int omit_whitespace(int c);
+int omit_whitespace_newline(int c);
+
+#ifndef HAVE_STRCASESTR
+/* strcasestr() is not available under Solaris */
+char * strcasestr (const char *haystack, const char *needle);
+#endif
/* TODO check for platforms which already have strlcpy and strlcat */