summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorTill Kamppeter <till.kamppeter@gmail.com>2010-08-10 19:07:55 +0200
committerTill Kamppeter <till.kamppeter@gmail.com>2010-08-10 19:07:55 +0200
commitf14f89b26611aa52c15665850e882a7d0b0d6232 (patch)
tree6f805236601df7947aaa71d7d5e3891e2634244e /util.h
parent283a9086c95c9a3fc94cd807f23244ec965bb55a (diff)
foomatic-filters 4.0.5-0ubuntu1
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 */