summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipng/dvipng.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvipng/dvipng.h b/Build/source/texk/dvipng/dvipng.h
index 98cc3a52f07..d16f87e8f06 100644
--- a/Build/source/texk/dvipng/dvipng.h
+++ b/Build/source/texk/dvipng/dvipng.h
@@ -83,13 +83,13 @@ typedef unsigned long long uint64_t;
#include <t1lib.h>
#endif
-#ifdef HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
-# ifdef HAVE_KPATHSEA_KPATHSEA_H
+#ifdef HAVE_KPATHSEA_KPATHSEA_H
/* boolean is an enum type from kpathsea/types.h loaded in
kpathsea/kpathsea.h, use it as fallback */
# define bool boolean
+#else
+# ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
# else
typedef int bool;
# define true (bool) 1