From f8d9c513174926eae5b0545c56c310c90f295132 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 11 Jul 2008 15:37:31 +0000 Subject: Pull in limits.h to fix PATH_MAX problems, thanks to Uli Slachter (psychon).. Not sure why this wouldn't work anyway, as we define it manually, but.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9954 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 798da0613..6ddc9bf9c 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -61,8 +61,9 @@ #include "configreader.h" #include "inspstring.h" #include "protocol.h" - +#include // required for PATH_MAX under gcc 4.3, may break windows #ifndef PATH_MAX +#warning Potentially broken system, PATH_MAX undefined #define PATH_MAX 4096 #endif -- cgit v1.2.3