From fb0ccc3cf00c54182947d7444007c73ea0dace09 Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 28 Jun 2008 06:23:21 +0000 Subject: [PATCH] Get PATH_MAX from limits.h Up to this point we have assumed that iostream.h gets us PATH_MAX or something. Really, I dunno, but the assumption was broken... git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1108 726aef4b-f618-498e-8847-2d620e286838 --- main.h | 1 + 1 file changed, 1 insertion(+) diff --git a/main.h b/main.h index 523e3191..d8159677 100644 --- a/main.h +++ b/main.h @@ -62,6 +62,7 @@ using std::cout; using std::cerr; using std::endl; +#include #ifndef PATH_MAX #define PATH_MAX 1024 #warning PATH_MAX is undefined