summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kstars/kstars/indi/apogee/stdafx.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/kstars/kstars/indi/apogee/stdafx.h b/kstars/kstars/indi/apogee/stdafx.h
index acabaa43..23c27c21 100644
--- a/kstars/kstars/indi/apogee/stdafx.h
+++ b/kstars/kstars/indi/apogee/stdafx.h
@@ -29,10 +29,15 @@
#define Sleep(x) usleep(1000*x)
#endif
-
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <string.h>
+#define ULONG unsigned long
+#define USHORT unsigned short
+#define PUSHORT unsigned short *
+#define Sleep(x) sleep(x)
#endif
-
-
-
-
+#endif