From 5c1789e2fd8066e4cd998d2e63e76acd105c4743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 23 Jun 2019 00:46:50 +0200 Subject: Add definitions for FreeBSD in kstars/indi/apogee. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 73148be818bbd9b8ee89a597467b89eab9f6b678) --- kstars/kstars/indi/apogee/stdafx.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'kstars') 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 +#include +#include +#include +#define ULONG unsigned long +#define USHORT unsigned short +#define PUSHORT unsigned short * +#define Sleep(x) sleep(x) #endif - - - - +#endif -- cgit v1.2.1