Link ws2_32 in order to make use of select()
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
||||
#if defined (_WIN)
|
||||
#include <winsock2.h> // needed for select()
|
||||
#else
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
|
||||
bool overflow_check_u32_add (const u32 a, const u32 b);
|
||||
bool overflow_check_u32_mul (const u32 a, const u32 b);
|
||||
bool overflow_check_u64_add (const u64 a, const u64 b);
|
||||
|
||||
Reference in New Issue
Block a user