Workarounds for compiling with -D_FORTIFY_SOURCE=2 (as Ubuntu does), which
[u/mdw/putty] / puttyps.h
index 976f598..d1f3c37 100644 (file)
--- a/puttyps.h
+++ b/puttyps.h
@@ -1,3 +1,7 @@
+/*
+ * Find the platform-specific header for this platform.
+ */
+
 #ifndef PUTTY_PUTTYPS_H
 #define PUTTY_PUTTYPS_H
 
@@ -9,6 +13,10 @@
 
 #include "macstuff.h"
 
+#elif defined(MACOSX)
+
+#include "osx.h"
+
 #else
 
 #include "unix.h"