diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/chrif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 3a11222fb..174bb5c27 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -35,6 +35,10 @@ //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] = {
|