$OpenBSD: patch-third_party_openssl_openssl_crypto_ui_ui_openssl_c,v 1.3 2012/04/03 13:59:35 robert Exp $
--- third_party/openssl/openssl/crypto/ui/ui_openssl.c.orig	Tue Mar 27 03:04:21 2012
+++ third_party/openssl/openssl/crypto/ui/ui_openssl.c	Sun Apr  1 20:04:45 2012
@@ -214,6 +214,12 @@
 #undef SGTTY
 #endif
 
+#if defined(__OpenBSD__)
+#define TERMIOS
+#undef TERMIO
+#undef SGTTY
+#endif
+
 #ifdef TERMIOS
 # include <termios.h>
 # define TTY_STRUCT		struct termios
