fix_xpa_h
authorOle Streicher <olebole@debian.org>
Thu, 25 Sep 2014 10:21:34 +0000 (11:21 +0100)
committerOle Streicher <olebole@debian.org>
Thu, 25 Sep 2014 10:21:34 +0000 (11:21 +0100)
Gbp-Pq: Name fix_xpa_h.patch

Makefile.in
xpa.h

index 2b70796f7b0e6a9535877dec1a3b3bf1c2af3808..98db000604c316c6379b8a61a12b32928ae448f2 100644 (file)
@@ -122,9 +122,9 @@ RM =                rm -f
 
 CC =           @CC@
 
-CC_SWITCHES =  -I. ${CFLAGS} ${CPPFLAGS} ${AC_FLAGS}
+CC_SWITCHES =  -I. ${CFLAGS} ${CPPFLAGS} ${AC_FLAGS} -include conf.h
 
-DEPEND_SWITCHES = -I. ${CFLAGS} ${PKG_CFLAGS} ${AC_FLAGS}
+DEPEND_SWITCHES = -I. ${CFLAGS} ${PKG_CFLAGS} ${AC_FLAGS} -include conf.h
 
 SRCS =         xpa.c xpaio.c command.c acl.c remote.c clipboard.c port.c \
                tcp.c client.c word.c xalloc.c find.c xlaunch.c timedconn.c \
diff --git a/xpa.h b/xpa.h
index c89ad55c9087a8ba3ae9172353dede6ac6ffd0b7..ae31872f6adcbbedb90e173209c6bd387e844e32 100644 (file)
--- a/xpa.h
+++ b/xpa.h
 #ifndef        __xpa_h
 #define        __xpa_h
 
-#if HAVE_CONFIG_H
-#include <conf.h>
-#endif
-
 #include <stdio.h>
 #include <sys/types.h>
 #include <prsetup.h>