diff -u -r1.13 configure
--- configure	12 May 2005 13:35:54 -0000	1.13
+++ configure	18 May 2005 14:05:55 -0000
@@ -82,6 +82,10 @@
 if test "$?" != "0" ; then
     # no stdint.h. obsolete environment. but we may hope
     echo "#include <unistd.h>" >> src/config.h
+    mname="`uname`"
+    if test "$mname" = "OpenBSD" ; then
+	echo "#include <inttypes.h>" >> src/config.h
+    fi
     has_stdint="no (you need luck to succeed)"
 else
     echo "#include <stdint.h>" >> src/config.h

