From 40bfb43e0ffe751242210ada2e6df46d38e14122 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 30 Sep 2006 15:09:29 +0000 Subject: Removed warnings with __USE_GNU and __USE_XOPEN --- src/common/backtrace.c | 4 ++++ src/common/utf8.c | 3 +++ 2 files changed, 7 insertions(+) (limited to 'src/common') diff --git a/src/common/backtrace.c b/src/common/backtrace.c index 8b76720bf..fb6ff71a1 100644 --- a/src/common/backtrace.c +++ b/src/common/backtrace.c @@ -28,7 +28,11 @@ #include #include #include + +#ifndef __USE_GNU #define __USE_GNU +#endif + #include #ifdef HAVE_BACKTRACE diff --git a/src/common/utf8.c b/src/common/utf8.c index 9379082e4..d1cfbd927 100644 --- a/src/common/utf8.c +++ b/src/common/utf8.c @@ -26,7 +26,10 @@ #include #include + +#ifndef __USE_XOPEN #define __USE_XOPEN +#endif #if defined(__OpenBSD__) #include -- cgit v1.2.3