summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 174bb5c27..33fb309ac 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -14,6 +14,7 @@
#endif
#include <sys/types.h>
#include <time.h>
+#include "../common/limits.h"
#include "../common/malloc.h"
#include "socket.h"
@@ -35,10 +36,6 @@
//Used Packets: U->2af8
//Free Packets: F->2af8
-#ifndef USHRT_MAX
- #define USHRT_MAX 65535
-#endif
-
struct dbt *auth_db;
static const int packet_len_table[0x3d] = {