// Written by Forest Hale 2003-06-15 and placed into public domain.
+#ifndef STANDALONETEST
+#include "quakedef.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
// for Z_Malloc/Z_Free in quake
#ifndef STANDALONETEST
-#include "quakedef.h"
#include "zone.h"
#include "sys.h"
#include "netconn.h"
{
if (lastfd < s->inetsocket)
lastfd = s->inetsocket;
- FD_SET(s->inetsocket, &fdreadset);
+ FD_SET((unsigned int)s->inetsocket, &fdreadset);
}
}
tv.tv_sec = microseconds / 1000000;