diff options
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 5 |
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] = {
|