summary refs log tree commit diff
path: root/acconfig.h
diff options
context:
space:
mode:
authorbernd <bernd>2007-04-27 17:58:48 +0000
committerbernd <bernd>2007-04-27 17:58:48 +0000
commit3d12c94f42f91e957fa8a68efcd3b0387791e6cf (patch)
tree8bd9782a01bbd59ee27201e29b30d058b15445db /acconfig.h
downloadcwm-3d12c94f42f91e957fa8a68efcd3b0387791e6cf.tar.gz
cwm-3d12c94f42f91e957fa8a68efcd3b0387791e6cf.tar.xz
cwm-3d12c94f42f91e957fa8a68efcd3b0387791e6cf.zip
Initial revision
Diffstat (limited to 'acconfig.h')
-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