summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 98b6fac7..eb71a4ea 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,7 @@
/* $Id$ */
+#define _XOPEN_SOURCE
+#define _ISOC99_SOURCE
+
#include "bbs.h"
static char *sex[8] = {
@@ -1436,7 +1439,7 @@ u_register(void)
/* 列出所有註冊使用者 */
static int usercounter, totalusers;
-static ushort u_list_special;
+static unsigned short u_list_special;
static int
u_list_CB(int num, userec_t * uentp)