[PATCH 06/11] wmtop: Add #define _BSD_SOURCE.
Doug Torrance <[email protected]>
| Newsgroups | gmane.compw.window-managers.windowmaker.devel |
|---|---|
| Message-ID | <[email protected]> |
Avoid implicit declaration warnings (usleep and getpagesize) if compiled using C99 standard. --- wmtop/wmtop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmtop/wmtop.c b/wmtop/wmtop.c index a1409de..3585a0d 100644 --- a/wmtop/wmtop.c +++ b/wmtop/wmtop.c @@ -27,6 +27,8 @@ #error No operating system selected #endif /* !defined(OS_DEFINED) */ +#define _BSD_SOURCE + /******************************************/ /* Includes */ /******************************************/ -- 2.5.0 -- To unsubscribe, send mail to [email protected].