summaryrefslogtreecommitdiff
path: root/dis-asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'dis-asm.h')
-rw-r--r--dis-asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dis-asm.h b/dis-asm.h
index 1d8f4bdbc..5f6f06cf6 100644
--- a/dis-asm.h
+++ b/dis-asm.h
@@ -10,6 +10,7 @@
#define DIS_ASM_H
#include <stdlib.h>
+#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
@@ -471,7 +472,6 @@ bfd_vma bfd_getl32 (const bfd_byte *addr);
bfd_vma bfd_getb32 (const bfd_byte *addr);
bfd_vma bfd_getl16 (const bfd_byte *addr);
bfd_vma bfd_getb16 (const bfd_byte *addr);
-typedef enum bfd_boolean {false, true} boolean;
-typedef boolean bfd_boolean;
+typedef bool bfd_boolean;
#endif /* ! defined (DIS_ASM_H) */