diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2ee5549 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# emech .gitignore + +energymech + +src/Makefile +src/config.h +src/*.o +src/energymech +src/gencmd +src/mcmd.h +src/usercombo.h + +*~ +*.bak +*.passwd +mech.conf +mech.pid +root.zone* +trick.conf + diff --git a/src/config.h.in b/src/config.h.in index ba8ea21..3e1a955 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -543,6 +543,10 @@ extern char __mx_opts[]; #define INT_MAX ((int)(((unsigned int)-3) >> 1)) #endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + #define TIME_MAX 2147483647 /*