pkgsrc/security/gnutls/patches/patch-src_libopts_autoopts_options.h
2013-10-25 09:03:12 +00:00

15 lines
473 B
C

$NetBSD: patch-src_libopts_autoopts_options.h,v 1.1 2013/10/25 09:03:12 jperkin Exp $
Workaround for older OSX.
--- src/libopts/autoopts/options.h.orig 2013-05-08 18:32:30.000000000 +0000
+++ src/libopts/autoopts/options.h
@@ -62,7 +62,7 @@
# include <sysexits.h>
# endif /* HAVE_SYSEXITS_H */
-# if defined(HAVE_STDBOOL_H)
+# if defined(HAVE_STDBOOL_H) || defined(__APPLE__)
# include <stdbool.h>
# else
typedef enum { false = 0, true = 1 } _Bool;