$OpenBSD: patch-config_h_in,v 1.7 2016/01/17 20:28:36 naddy Exp $
--- config.h.in.orig	Tue Sep 29 13:03:40 2015
+++ config.h.in	Sun Oct 18 21:46:08 2015
@@ -349,7 +349,11 @@
 
 /* Define to 1 if the system supports fast unaligned access to 16-bit and
    32-bit integers. */
-#undef TUKLIB_FAST_UNALIGNED_ACCESS
+#include <sys/types.h>
+#if !defined(__STRICT_ALIGNMENT)
+#define \
+    TUKLIB_FAST_UNALIGNED_ACCESS 1
+#endif
 
 /* Define to 1 if the amount of physical memory can be detected with
    _system_configuration.physmem. */
