aboutsummaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorbernd2007-04-27 17:58:48 +0000
committerbernd2007-04-27 17:58:48 +0000
commit055eec93ac495df814cc5585fd55712a6cac06c4 (patch)
treea7f9e9b6a1231b28b552199ac2e27c45d64a9ba7 /acconfig.h
downloadcwm-055eec93ac495df814cc5585fd55712a6cac06c4.tar.gz
Initial import of cwm-3.
tested by sturm@, ok matthieu@
Diffstat (limited to '')
-rw-r--r--acconfig.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
new file mode 100644
index 0000000..1afc2bb
--- /dev/null
+++ b/acconfig.h
@@ -0,0 +1,27 @@
+#undef u_int16_t
+#undef u_int32_t
+#undef u_int64_t
+#undef u_int8_t
+
+@BOTTOM@
+
+/* Prototypes for missing functions */
+
+#ifndef HAVE_STRLCPY
+ size_t strlcpy(char *, const char *, size_t);
+#endif
+
+#ifndef HAVE_STRLCAT
+ size_t strlcat(char *, const char *, size_t);
+#endif
+
+#ifndef HAVE_STRSEP
+ char *strsep(char **, const char *);
+#endif /* HAVE_STRSEP */
+
+#ifndef HAVE_ERR
+ void err(int, const char *, ...);
+ void warn(const char *, ...);
+ void errx(int , const char *, ...);
+ void warnx(const char *, ...);
+#endif