X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspircd.h;h=5e5ebce421518d7e4f45433c7253cad470b3d145;hb=48103a05e75dc208bcd01b62b19ae01158c01b50;hp=7a06f299c96ff82b562395c74c96b1873efda167;hpb=8a51d8969cd1b3800d15af8cf8dc6e15284da7aa;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspircd.h b/include/inspircd.h index 7a06f299c..5e5ebce42 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -37,8 +37,10 @@ #include #include #include +#include #include "inspircd_config.h" +#include "numerics.h" #include "uid.h" #include "users.h" #include "channels.h" @@ -61,6 +63,11 @@ #include "inspstring.h" #include "protocol.h" +#ifndef PATH_MAX +#warning Potentially broken system, PATH_MAX undefined +#define PATH_MAX 4096 +#endif + /** * Used to define the maximum number of parameters a command may have. */ @@ -268,12 +275,7 @@ class CoreExport ConfigReaderThread : public Thread * classbase. Amongst other things, it contains a ModeParser, * a DNS object, a CommandParser object, and a list of active * Module objects, and facilities for Module objects to - * interact with the core system it implements. You should - * NEVER attempt to instantiate a class of type InspIRCd - * yourself. If you do, this is equivalent to spawning a second - * IRC server, and could have catastrophic consequences for the - * program in terms of ram usage (basically, you could create - * an obese forkbomb built from recursively spawning irc servers!) + * interact with the core system it implements. */ class CoreExport InspIRCd : public classbase {