[Pkg-wmaker-commits] [wmbiff] 03/04: wmbiff: Add #define _GNU_SOURCE to avoid "implicit declaration" warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Dec 1 12:17:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmbiff.
commit 35fd3be55687ce927f78f8afc02e3fe5811f35e5
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Wed Nov 30 21:16:46 2016 -0500
wmbiff: Add #define _GNU_SOURCE to avoid "implicit declaration" warnings.
---
wmbiff/Imap4Client.c | 2 ++
wmbiff/ShellClient.c | 2 ++
wmbiff/passwordMgr.c | 2 ++
wmbiff/test_wmbiff.c | 2 ++
4 files changed, 8 insertions(+)
diff --git a/wmbiff/Imap4Client.c b/wmbiff/Imap4Client.c
index ba12a66..ec0f7b3 100644
--- a/wmbiff/Imap4Client.c
+++ b/wmbiff/Imap4Client.c
@@ -7,6 +7,8 @@
* modified by Jay Francis (jtf at u880.org) to support
* CRAM-MD5 */
+#define _GNU_SOURCE
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/wmbiff/ShellClient.c b/wmbiff/ShellClient.c
index 8c66471..1519ecb 100644
--- a/wmbiff/ShellClient.c
+++ b/wmbiff/ShellClient.c
@@ -8,6 +8,8 @@
*
*/
+#define _GNU_SOURCE
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/wmbiff/passwordMgr.c b/wmbiff/passwordMgr.c
index 28b6e30..42c1657 100644
--- a/wmbiff/passwordMgr.c
+++ b/wmbiff/passwordMgr.c
@@ -21,6 +21,8 @@
again. This might be poor if the askpass program is
replaced with something non-interactive. */
+#define _GNU_SOURCE
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/wmbiff/test_wmbiff.c b/wmbiff/test_wmbiff.c
index 8e090cc..d975ce5 100644
--- a/wmbiff/test_wmbiff.c
+++ b/wmbiff/test_wmbiff.c
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list