summaryrefslogtreecommitdiff
path: root/ftp.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-07-30 22:09:42 +0000
committerjbj <devnull@localhost>1998-07-30 22:09:42 +0000
commit5142bf78e626b861ec1af6be7d81d3bb5c0afe03 (patch)
treeaa6b84c1fb3cf9f267637a719f4f3106e19a1d12 /ftp.c
parentff2267faac75d20f0b8e8ebfda7f571403ad5ee5 (diff)
downloadrpm-5142bf78e626b861ec1af6be7d81d3bb5c0afe03.tar.gz
rpm-5142bf78e626b861ec1af6be7d81d3bb5c0afe03.tar.bz2
rpm-5142bf78e626b861ec1af6be7d81d3bb5c0afe03.zip
Consolidated includes for librpmbuild API.
CVS patchset: 2213 CVS date: 1998/07/30 22:09:42
Diffstat (limited to 'ftp.c')
-rw-r--r--ftp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ftp.c b/ftp.c
index d3d581a3f..9ad5eef8b 100644
--- a/ftp.c
+++ b/ftp.c
@@ -1,8 +1,6 @@
#include "system.h"
-#if HAVE_CONFIG_H
-# include "miscfn.h"
-#else
+#if !defined(HAVE_CONFIG_H)
#define HAVE_MACHINE_TYPES_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
@@ -22,11 +20,8 @@
extern int h_errno;
#endif
-#include <netdb.h>
-#include <pwd.h>
#include <stdarg.h>
-#include <sys/time.h>
#include <netinet/in.h>
#include <netinet/ip.h>