bug-inetutils
[Top][All Lists]
Advanced

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

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


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

2009/10/1 Rakesh Pandit <address@hidden>:
> 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.
>

Added CL

-- 
Rakesh Pandit

>From a6dd8f34f201afb1309d2c503b6feceac4d6a991 Mon Sep 17 00:00:00 2001
From: Rakesh Pandit <address@hidden>
Date: Thu, 1 Oct 2009 17:55:56 +0530
Subject: [PATCH]  Added config.h to talkd.c

---
 ChangeLog     |    4 ++++
 talkd/talkd.c |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ac4ad13..e73d10c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-01  Rakesh Pandit <address@hidden>
+
+       * talkd/talkd.c: Added config.h and guarded with HAVE_CONFIG_H
+
 2009-08-21  Giuseppe Scrivano  <address@hidden>

        rexec: show all missing arguments before exit.
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]