fixed include time in c client (#102)

This commit is contained in:
Chris Teubert
2017-04-24 10:52:03 -07:00
parent 5d23d482f7
commit 1dfe7bff66
2 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,7 @@
// CONTRIBUTORS // CONTRIBUTORS
// CT: Christopher Teubert (christopher.a.teubert@nasa.gov) // CT: Christopher Teubert (christopher.a.teubert@nasa.gov)
// JW: Jason Watkins (jason.w.watkins@nasa.gov) // JW: Jason Watkins (jason.w.watkins@nasa.gov)
#include "xplaneConnect.h" #include "xplaneConnect.h"
#include <math.h> #include <math.h>
@@ -46,7 +47,12 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef _WIN32
#include <time.h> #include <time.h>
#else
#include <sys/time.h>
#endif
int sendUDP(XPCSocket sock, char buffer[], int len); int sendUDP(XPCSocket sock, char buffer[], int len);
int readUDP(XPCSocket sock, char buffer[], int len); int readUDP(XPCSocket sock, char buffer[], int len);

Binary file not shown.