chiark / gitweb /
draft initd status support
[userv.git] / acconfig.h
index 17273022142cf5a67d59ebf1cd57f788a40af1aa..3ead528552cc01b2ac458f435f58e4c10dd19916 100644 (file)
 #define STRSIGNAL(x) "[platform has no strsignal!]"
 #endif
 
+/* VSNPRINTF */
+#ifndef HAVE_VSNPRINTF
+# error "You must have vsnprintf!  Without vsnprintf it is very hard to write secure programs.  If you don't have it then your system libc is probably full of hideous buffer overrun security bugs.  But, if you don't want to fix your system a portable snprintf can be found at http://www.ijs.si/software/snprintf/"
+#endif
+
 /* EPROTO */
 #ifndef HAVE_EPROTO
 #define EPROTO 0