Summary: | =dev-util/uncrustify-0.59 not compiles with gcc-4.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Kredba <kredba> |
Component: | [OLD] Development | Assignee: | Fabian Groffen <grobian> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 390247 |
Description
David Kredba
2012-04-28 11:58:36 UTC
Does this patch help you to get further? --- uncrustify-0.59/src/uncrustify.cpp.orig 2012-05-01 15:32:08.277426395 +0200 +++ uncrustify-0.59/src/uncrustify.cpp 2012-05-01 15:32:37.204372072 +0200 @@ -24,6 +24,9 @@ #include <cstdlib> #include <cstring> #include <cerrno> +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #include <fcntl.h> #include "unc_ctype.h" #ifdef HAVE_SYS_STAT_H Yes, it works perfectly with your patch. Thank you very much. cool, committed, thanks for testing |