bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Re: warning: "HAVE_DECL_PROGRAM_INVOCATION_NAME" redefin


From: Simon Josefsson
Subject: [bug-inetutils] Re: warning: "HAVE_DECL_PROGRAM_INVOCATION_NAME" redefined
Date: Mon, 07 Dec 2009 13:39:14 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> I get ton of these when building under Mac OS X:

Another file had the same problem; also pushed.

/Simon

>From b35ff7b5be291a7ae0c9bc2945f6d59bed8ba0fb Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
Date: Mon, 7 Dec 2009 13:38:24 +0100
Subject: [PATCH] Don't include config.h.

---
 ChangeLog       |    1 +
 talkd/intalkd.h |    4 ----
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b064791..68b2f1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * libinetutils/libinetutils.h: Don't include config.h, leads to
        double inclusion of config.h.
+       * talkd/intalkd.h: Likewise.
 
 2009-12-07  Simon Josefsson  <address@hidden>
 
diff --git a/talkd/intalkd.h b/talkd/intalkd.h
index 016a549..5f09b30 100644
--- a/talkd/intalkd.h
+++ b/talkd/intalkd.h
@@ -17,10 +17,6 @@
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see `http://www.gnu.org/licenses/'. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
-- 
1.6.5.3





reply via email to

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