[Pkg-wmaker-commits] [wmmon] 25/38: wmgeneral: Add _POSIX_C_SOURCE #defines for strdup, pid_t, and getline.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sat Aug 12 22:43:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmmon.
commit 35c0a2bb49d7e1a64f064664c46b1dbbfd4f183b
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Mon May 25 17:21:23 2015 -0500
wmgeneral: Add _POSIX_C_SOURCE #defines for strdup, pid_t, and getline.
---
wmgeneral/misc.c | 1 +
wmgeneral/wmgeneral.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/wmgeneral/misc.c b/wmgeneral/misc.c
index fa7f69d..fb36fd1 100644
--- a/wmgeneral/misc.c
+++ b/wmgeneral/misc.c
@@ -20,6 +20,7 @@
* USA.
*/
+#define _POSIX_C_SOURCE 200809L
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
diff --git a/wmgeneral/wmgeneral.c b/wmgeneral/wmgeneral.c
index a678631..91635ac 100644
--- a/wmgeneral/wmgeneral.c
+++ b/wmgeneral/wmgeneral.c
@@ -58,6 +58,7 @@
*/
+#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmmon.git
More information about the Pkg-wmaker-commits
mailing list