summaryrefslogtreecommitdiff
path: root/security/gnutls/patches/patch-src_libopts_autoopts_options.h
blob: 12292e5facd975fa7eadf230ceeb471df9211788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_libopts_autoopts_options.h,v 1.3 2019/12/06 14:00:08 nia Exp $

Workaround for older OSX.

--- src/libopts/autoopts/options.h.orig	2019-12-01 21:25:38.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>
 #  elif ! defined(bool)
      typedef enum { false = 0, true = 1 } _Bool;