Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
noinst_HEADERS = rpc_com.h debug.h
-AM_CPPFLAGS = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 \
- -D_GNU_SOURCE -Wall -pipe
+AM_CPPFLAGS = -I$(top_srcdir)/tirpc -include config.h -DPORTMAP -DINET6 \
+ -D_GNU_SOURCE -Wall -pipe
lib_LTLIBRARIES = libtirpc.la
* needed to deal with TCP connections.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdio.h>
#include <syslog.h>
#include <string.h>
* Copyright (c) 1984 by Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <netinet/in.h>
#include <libc_private.h>
#endif
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
/*
* Internet version.
*/