openbsd-ports/misc/brltty/patches/patch-Programs_brlapi_h_in
2003-11-22 00:57:55 +00:00

15 lines
438 B
Plaintext

$OpenBSD: patch-Programs_brlapi_h_in,v 1.1.1.1 2003/11/22 00:57:55 espie Exp $
--- Programs/brlapi.h.in.orig 2003-09-01 16:16:43.000000000 +0200
+++ Programs/brlapi.h.in 2003-11-17 19:58:24.000000000 +0100
@@ -31,6 +31,10 @@ extern "C" {
/* this is for UINT32_MAX */
#include <inttypes.h>
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif /* UINT32_MAX */
+
/* The type size_t is defined there! */
#include <unistd.h>