fixed include time in c client (#102)
This commit is contained in:
@@ -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.
Reference in New Issue
Block a user