From 6078ffd6b8aec08f812c64232a9f9944aca59a45 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 3 Sep 2010 11:48:32 +0200 Subject: [PATCH] include grp.h, include bsd-compat.h first, since it defines _GNU_SOURCE, used by other headers --- aucat/aucat.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aucat/aucat.c b/aucat/aucat.c index 26da027..f481241 100644 --- a/aucat/aucat.c +++ b/aucat/aucat.c @@ -14,6 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef COMPAT_STRTONUM +#include "bsd-compat.h" +#endif #include #include #include @@ -23,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -43,9 +47,6 @@ #ifdef DEBUG #include "dbg.h" #endif -#ifdef COMPAT_STRTONUM -#include "bsd-compat.h" -#endif /* * unprivileged user name