summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2011-01-27 15:45:50 +0100
committerDidier Raboud <odyx@debian.org>2011-01-27 15:45:50 +0100
commitd1cf03383a481675a2458d6ffc95bca7f495eff8 (patch)
tree8031752b202ad5a1b26e6560361fc5a12be8b280 /util.h
parent1a03de334fd4e6aafb91b806ea35092a7774a8d7 (diff)
Imported Upstream version 4.0.6
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 */