#ifndef _COMMON_H #define _COMMON_H #include "Compiler.h" #if defined WINDOWS #include #include #elif defined LINUX #include #include #endif void set_nonblock(int sock); typedef struct { int x; int y; } POSITION; typedef struct { float x; float y; } FLOAT_POSITION; #endif