diff options
Diffstat (limited to 'daemon/utmpd')
-rw-r--r-- | daemon/utmpd/friend.cpp | 1 | ||||
-rw-r--r-- | daemon/utmpd/utmpserver.c | 1 | ||||
-rw-r--r-- | daemon/utmpd/utmpserver2.c | 1 | ||||
-rw-r--r-- | daemon/utmpd/utmpserver3.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/daemon/utmpd/friend.cpp b/daemon/utmpd/friend.cpp index 5497ee2e..13d29070 100644 --- a/daemon/utmpd/friend.cpp +++ b/daemon/utmpd/friend.cpp @@ -4,6 +4,7 @@ // for some constant and type #include "bbs.h" +#include "daemons.h" /* for each login of user, * input: my index, friend[MAX_FRIEND] of uid, reject[MAX_REJECT] of uid, diff --git a/daemon/utmpd/utmpserver.c b/daemon/utmpd/utmpserver.c index 62b54a41..f50d3b0f 100644 --- a/daemon/utmpd/utmpserver.c +++ b/daemon/utmpd/utmpserver.c @@ -1,5 +1,6 @@ /* $Id$ */ #include "bbs.h" +#include "daemons.h" #include <err.h> struct { diff --git a/daemon/utmpd/utmpserver2.c b/daemon/utmpd/utmpserver2.c index ce79c0c7..6c375823 100644 --- a/daemon/utmpd/utmpserver2.c +++ b/daemon/utmpd/utmpserver2.c @@ -3,6 +3,7 @@ #include <sys/time.h> #include "bbs.h" +#include "daemons.h" extern void utmplogin(int uid, int index, const int like[MAX_FRIEND], const int hate[MAX_REJECT]); extern int genfriendlist(int uid, int index, ocfs_t *fs, int maxfs); diff --git a/daemon/utmpd/utmpserver3.c b/daemon/utmpd/utmpserver3.c index da833d03..18d5d94a 100644 --- a/daemon/utmpd/utmpserver3.c +++ b/daemon/utmpd/utmpserver3.c @@ -5,6 +5,7 @@ #include <event.h> #include "bbs.h" +#include "daemons.h" extern void utmplogin(int uid, int index, const int like[MAX_FRIEND], const int hate[MAX_REJECT]); extern int genfriendlist(int uid, int index, ocfs_t *fs, int maxfs); |