[Pkg-wmaker-commits] [wmtop] 06/11: wmtop: Add #define _BSD_SOURCE.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Feb 8 15:03:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmtop.
commit c2e60751a60b185380038745b9b16c5ad9c956ad
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Sun Feb 7 21:36:21 2016 -0500
wmtop: Add #define _BSD_SOURCE.
Avoid implicit declaration warnings (usleep and getpagesize) if compiled
using C99 standard.
---
wmtop.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/wmtop.c b/wmtop.c
index a1409de..3585a0d 100644
--- a/wmtop.c
+++ b/wmtop.c
@@ -27,6 +27,8 @@
#error No operating system selected
#endif /* !defined(OS_DEFINED) */
+#define _BSD_SOURCE
+
/******************************************/
/* Includes */
/******************************************/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmtop.git
More information about the Pkg-wmaker-commits
mailing list