aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2000-08-02 03:39:20 +0000
committerFritz Elfert <felfert@to.com>2000-08-02 03:39:20 +0000
commitb6e35c977928bc4fb15b5346128db9823412e6b4 (patch)
treea76fada4bf540347bdf44ee9fff5c15a2100acb9 /plpftp
parentdbc2d14e0727d8e2f4b8e805c433e50c8664d64d (diff)
downloadplptools-b6e35c977928bc4fb15b5346128db9823412e6b4.tar.gz
plptools-b6e35c977928bc4fb15b5346128db9823412e6b4.tar.bz2
plptools-b6e35c977928bc4fb15b5346128db9823412e6b4.zip
Get rid of second configuration header defs.h[.in].
Configuration now is in config.h and this is included as the very first header.
Diffstat (limited to 'plpftp')
-rw-r--r--plpftp/ftp.cc5
-rw-r--r--plpftp/main.cc5
2 files changed, 8 insertions, 2 deletions
diff --git a/plpftp/ftp.cc b/plpftp/ftp.cc
index b46e24a..2022eb5 100644
--- a/plpftp/ftp.cc
+++ b/plpftp/ftp.cc
@@ -22,6 +22,10 @@
//
// e-mail philip.proudman@btinternet.com
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <dirent.h>
#include <stream.h>
@@ -36,7 +40,6 @@
#include <sys/stat.h>
#include <signal.h>
-#include "defs.h"
#include "ftp.h"
#include "rfsv.h"
#include "rpcs.h"
diff --git a/plpftp/main.cc b/plpftp/main.cc
index 8d00574..cbd88f6 100644
--- a/plpftp/main.cc
+++ b/plpftp/main.cc
@@ -22,13 +22,16 @@
//
// e-mail philip.proudman@btinternet.com
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stream.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
-#include "defs.h"
#include "bool.h"
#include "ppsocket.h"
#include "rfsv.h"