$NetBSD$

--- src/setup.cpp.orig	2005-07-08 12:19:17.000000000 +0000
+++ src/setup.cpp
@@ -36,6 +36,7 @@
 #include <dirent.h>
 #ifndef WIN32
 #include <libgen.h>
+#include <limits.h>
 #endif
 #include <ctype.h>
 
@@ -889,6 +890,14 @@ void st_abort(const std::string& reason,
   abort();
 }
 
+
+/* --- WARN! --- */
+
+void st_warn(const std::string& reason, const std::string& details)
+{
+  fprintf(stderr, "\nWarning: %s\n%s\n\n", reason.c_str(), details.c_str());
+}
+
 /* Set Icon (private) */
 
 void seticon(void)
