bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Included config.h in talkd.c


From: Rakesh Pandit
Subject: [bug-inetutils] Included config.h in talkd.c
Date: Thu, 1 Oct 2009 17:11:26 +0530

Included config.h so as to prevent conflict between getopt.h from
gnulib and one from glibc headers. Config.h helps to resolve it and
fixes the build.

Okay to go ?

-- 
Rakesh Pandit
https://fedoraproject.org/
freedom, friends, features, first

>From 14221c4991b77e94b729217e6147d4a26adc1625 Mon Sep 17 00:00:00 2001
From: Rakesh Pandit <address@hidden>
Date: Thu, 1 Oct 2009 17:18:15 +0530
Subject: [PATCH]  * talkd/talkd.c: Included config.h

---
 talkd/talkd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/talkd/talkd.c b/talkd/talkd.c
index 9c3ddcf..edb1195 100644
--- a/talkd/talkd.c
+++ b/talkd/talkd.c
@@ -17,6 +17,9 @@
    to the Free Software Foundation, Inc., 51 Franklin Street,
    Fifth Floor, Boston, MA 02110-1301 USA. */

+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 #include <argp.h>
 #include <intalkd.h>
 #include <signal.h>
-- 
1.6.4.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]