$OpenBSD: patch-configure_ac,v 1.1 2016/04/27 10:42:50 jasper Exp $ https://bugs.freedesktop.org/show_bug.cgi?id=94570 --- configure.ac.orig Wed Apr 27 12:36:59 2016 +++ configure.ac Wed Apr 27 12:37:13 2016 @@ -65,6 +65,7 @@ AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"]) AC_CHECK_HEADERS([sys/ipc.h sys/shm.h]) AC_CHECK_HEADERS([sys/socket.h netinet/in.h arpa/inet.h]) AC_CHECK_HEADERS([termios.h]) +AC_CHECK_HEADERS([machine/endian.h]) AC_CHECK_LIBM AC_SUBST(LIBM)