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 wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to