summaryrefslogtreecommitdiffstats
path: root/util/buildAnnounce.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/buildAnnounce.c')
-rw-r--r--util/buildAnnounce.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/buildAnnounce.c b/util/buildAnnounce.c
index 3fa8a6a7..f3f75661 100644
--- a/util/buildAnnounce.c
+++ b/util/buildAnnounce.c
@@ -1,12 +1,16 @@
/* 建立所有看板精華區的連結 */
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
+#include <sys/stat.h>
#include "config.h"
#include "pttstruct.h"
+#include "proto.h"
#define GROUPROOT BBSHOME"/man/group"
extern bcache_t *brdshm;