open/close/etc. are defined in unistd.h, GCC 4.7 is stricter in this and breaks the build, bug #413859. Upstream already applied a similar change for another issue, so next release should be fine. --- uncrustify-0.59/src/uncrustify.cpp +++ uncrustify-0.59/src/uncrustify.cpp @@ -24,6 +24,9 @@ #include #include #include +#ifdef HAVE_UNISTD_H +#include +#endif #include #include "unc_ctype.h" #ifdef HAVE_SYS_STAT_H