#ifndef G3D_netheaders_h #define G3D_netheaders_h #include "G3D/platform.h" #ifdef G3D_WINDOWS # if (G3D_WINSOCK_MAJOR_VERSION == 2) # include # elif (G3D_WINSOCK_MAJOR_VERSION == 1) # include # endif #else # include # include # include # ifndef SOCKADDR_IN # define SOCKADDR_IN struct sockaddr_in # endif # ifndef SOCKET # define SOCKET int # endif #endif #endif