openbsd-ports/comms/gnokii/patches/patch-include_gnokii_h

12 lines
508 B
Plaintext
Raw Normal View History

$OpenBSD: patch-include_gnokii_h,v 1.2 2007/10/16 12:44:50 ajacoutot Exp $
--- include/gnokii.h.orig Mon Aug 28 00:36:54 2006
+++ include/gnokii.h Tue Oct 16 14:22:35 2007
@@ -46,6 +46,7 @@ extern "C" {
2006-10-21 07:29:47 -04:00
# include <sys/time.h>
#elif defined(__svr4__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__MACH__)
# include <inttypes.h>
+# include <limits.h>
# include <sys/time.h>
#elif defined(_MSC_VER) && defined(WIN32)
# include <Winsock.h> /* for struct timeval */