Skip to content

Commit f63bb6a

Browse files
Finnpiedar
authored andcommitted
Fix Windows Compiler error C2011
Fixes OpenKinect#561 Signed-off-by: Benn Snyder <[email protected]>
1 parent b1d88af commit f63bb6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wrappers/c_sync/libfreenect_sync.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
* either License.
2525
*/
2626
#include <stdio.h>
27+
#ifdef _MSC_VER
28+
#define HAVE_STRUCT_TIMESPEC
29+
#endif
2730
#include <pthread.h>
2831
#include <string.h>
2932
#include <stdlib.h>

0 commit comments

Comments
 (0)