aboutsummaryrefslogtreecommitdiffstats
path: root/plpnfsd
diff options
context:
space:
mode:
Diffstat (limited to 'plpnfsd')
-rw-r--r--plpnfsd/main.cc7
-rw-r--r--plpnfsd/mp_main.c6
-rw-r--r--plpnfsd/mp_mount.c6
3 files changed, 15 insertions, 4 deletions
diff --git a/plpnfsd/main.cc b/plpnfsd/main.cc
index 6bf0f01..ef9abdd 100644
--- a/plpnfsd/main.cc
+++ b/plpnfsd/main.cc
@@ -3,6 +3,10 @@
// Copyright (C) 1999 Fritz Elfert <felfert@to.com>
//
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stream.h>
#include <string.h>
#include <stdlib.h>
@@ -10,7 +14,6 @@
#include <signal.h>
#include <syslog.h>
-#include "defs.h"
#include "bool.h"
#include "rfsv.h"
#include "rfsvfactory.h"
@@ -284,7 +287,7 @@ void usage()
int main(int argc, char**argv) {
ppsocket *skt;
char *user = 0L;
- char *mdir = DDIR;
+ char *mdir = DMOUNTPOINT;
int sockNum = DPORT;
int verbose = 0;
int status = 0;
diff --git a/plpnfsd/mp_main.c b/plpnfsd/mp_main.c
index 3c3cab9..80e3d82 100644
--- a/plpnfsd/mp_main.c
+++ b/plpnfsd/mp_main.c
@@ -6,6 +6,11 @@
* Modifications for plputils by Fritz Elfert <felfert@to.com>
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <OSdefs.h>
#include <stdio.h>
#include <signal.h>
@@ -16,7 +21,6 @@
#include <errno.h>
#include "nfs_prot.h"
#include "mp.h"
-#include "defs.h"
#if defined (__SVR4) || defined(__sgi)
#include <stdlib.h> /* getenv */
#include <string.h> /* strcmp */
diff --git a/plpnfsd/mp_mount.c b/plpnfsd/mp_mount.c
index 0f9e1e9..da5d2c8 100644
--- a/plpnfsd/mp_mount.c
+++ b/plpnfsd/mp_mount.c
@@ -6,6 +6,11 @@
* Modifications for plputils by Fritz Elfert <felfert@to.com>
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined(__SVR4) || defined(__sgi) || defined(linux)
#include <stdlib.h>
#include <unistd.h>
@@ -38,7 +43,6 @@ extern int inet_addr(char *);
#define umount(dir) unmount(dir)
#endif
-#include "defs.h"
static char nfshost[128];