summaryrefslogtreecommitdiffstats
path: root/kstars
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-06-23 00:46:50 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-23 00:46:50 +0200
commit73148be818bbd9b8ee89a597467b89eab9f6b678 (patch)
tree66a36b0ae50297ef6d97a1286da751c843ce540e /kstars
parentbfa8c9db8f50dbcf27a0fd955c322e1ed2bad72d (diff)
downloadtdeedu-73148be818bbd9b8ee89a597467b89eab9f6b678.tar.gz
tdeedu-73148be818bbd9b8ee89a597467b89eab9f6b678.zip
Add definitions for FreeBSD in kstars/indi/apogee.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kstars')
-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