1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#undef MAXSYMLINKS #define MAXSYMLINKS 20 #undef MAXHOSTNAMELEN #define MAXHOSTNAMELEN 64 #undef MAXNAMLEN #define MAXNAMLEN NAME_MAX #undef MAXPATHLEN #define MAXPATHLEN PATH_MAX #include <sys/resource.h> #include <endian.h> #include <limits.h>