aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index a258c1c6f..e4dac8b98 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -54,6 +54,9 @@
/* hand-modified MacOS config.h! */
#include "config-mac.h"
#endif
+#ifdef AMIGA
+#include "amigaos.h"
+#endif
#endif
@@ -204,6 +207,12 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
#endif
+#ifdef _AMIGASF
+#undef HAVE_ALARM
+#undef sclose
+#define sclose(x) CloseSocket(x)
+#endif
+
#define DIR_CHAR "/"
#define DOT_CHAR "."