wmtop: Add #define _BSD_SOURCE.
Avoid implicit declaration warnings (usleep and getpagesize) if compiled using C99 standard.
This commit is contained in:
parent
e8f6ae1cdd
commit
62174abc69
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@
|
||||||
#error No operating system selected
|
#error No operating system selected
|
||||||
#endif /* !defined(OS_DEFINED) */
|
#endif /* !defined(OS_DEFINED) */
|
||||||
|
|
||||||
|
#define _BSD_SOURCE
|
||||||
|
|
||||||
/******************************************/
|
/******************************************/
|
||||||
/* Includes */
|
/* Includes */
|
||||||
/******************************************/
|
/******************************************/
|
||||||
|
|
Loading…
Reference in a new issue