summaryrefslogtreecommitdiffstats
path: root/common/bbs
diff options
context:
space:
mode:
Diffstat (limited to 'common/bbs')
-rw-r--r--common/bbs/Makefile2
-rw-r--r--common/bbs/file.c1
-rw-r--r--common/bbs/names.c5
-rw-r--r--common/bbs/path.c3
4 files changed, 8 insertions, 3 deletions
diff --git a/common/bbs/Makefile b/common/bbs/Makefile
index b93cada1..4b992b6a 100644
--- a/common/bbs/Makefile
+++ b/common/bbs/Makefile
@@ -10,4 +10,6 @@ LIB:= cmbbs
install:
+all: $(SRCROOT)/include/var.h .depend
+
.include <bsd.lib.mk>
diff --git a/common/bbs/file.c b/common/bbs/file.c
index a423f92b..8222d1f6 100644
--- a/common/bbs/file.c
+++ b/common/bbs/file.c
@@ -1,3 +1,4 @@
+#include "cmsys.h"
#include "cmbbs.h"
int
diff --git a/common/bbs/names.c b/common/bbs/names.c
index d96b3b3e..68dcf101 100644
--- a/common/bbs/names.c
+++ b/common/bbs/names.c
@@ -1,12 +1,11 @@
/* $Id$ */
-// #include "bbs.h"
#include "cmbbs.h"
#include <assert.h>
-// #include <stdio.h>
-// #include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include "pttstruct.h"
+
int
is_validuserid(const char *id)
diff --git a/common/bbs/path.c b/common/bbs/path.c
index a48d3a46..560ac793 100644
--- a/common/bbs/path.c
+++ b/common/bbs/path.c
@@ -6,6 +6,9 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include "common.h"
+#include "var.h"
+
/* ----------------------------------------------------- */
/* set file path for boards/user home */