chiark / gitweb /
draft initd status support
[userv.git] / acconfig.h
index 55efe25d47644f0b3b973b3ae0724db51fcf33d9..3ead528552cc01b2ac458f435f58e4c10dd19916 100644 (file)
@@ -25,6 +25,9 @@
 /* Define if LOG_AUTHPRIV exists.  */
 #undef HAVE_LOG_AUTHPRIV
 
+/* Define if WCOREDUMP exists.  */
+#undef HAVE_WCOREDUMP
+
 /* Define if function attributes a la GCC 2.5 and higher are available.  */
 #undef HAVE_GNUC25_ATTRIB
 
 #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