aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd
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 /ncpd
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 'ncpd')
-rw-r--r--ncpd/link.cc5
-rw-r--r--ncpd/main.cc5
-rw-r--r--ncpd/ncp.cc5
3 files changed, 12 insertions, 3 deletions
diff --git a/ncpd/link.cc b/ncpd/link.cc
index d07b78b..9b0e5f3 100644
--- a/ncpd/link.cc
+++ b/ncpd/link.cc
@@ -22,11 +22,14 @@
//
// e-mail philip.proudman@btinternet.com
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stream.h>
#include <stdlib.h>
#include <stdio.h>
-#include "defs.h"
#include "bool.h"
#include "link.h"
#include "packet.h"
diff --git a/ncpd/main.cc b/ncpd/main.cc
index 2c0fd3d..ca1d2c4 100644
--- a/ncpd/main.cc
+++ b/ncpd/main.cc
@@ -22,13 +22,16 @@
//
// e-mail philip.proudman@btinternet.com
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stream.h>
#include <stdlib.h>
#include <signal.h>
-#include "defs.h"
#include "ncp.h"
#include "bufferstore.h"
#include "ppsocket.h"
diff --git a/ncpd/ncp.cc b/ncpd/ncp.cc
index 1a5c317..3370cd1 100644
--- a/ncpd/ncp.cc
+++ b/ncpd/ncp.cc
@@ -22,12 +22,15 @@
//
// e-mail philip.proudman@btinternet.com
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stream.h>
#include <string.h>
#include <time.h>
#include "bool.h"
-#include "defs.h"
#include "ncp.h"
#include "linkchan.h"
#include "bufferstore.h"