[nasm:nasm-2.16.xx] compiler.h: add missing new #include "autoconf/attributes.h"
nasm-bot for H. Peter Anvin
hpa at zytor.com
Wed Oct 11 12:09:04 PDT 2023
Commit-ID: 816f50e5f50458b8f42f0805a4d8fba3d6e8dd76
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=816f50e5f50458b8f42f0805a4d8fba3d6e8dd76
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 11 Oct 2023 12:06:18 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 11 Oct 2023 12:06:18 -0700
compiler.h: add missing new #include "autoconf/attributes.h"
The attributes macro is contained in a header file; this header file
needs to be included.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
include/compiler.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/compiler.h b/include/compiler.h
index 407c1609..b95b1a20 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------- *
*
- * Copyright 2007-2020 The NASM Authors - All Rights Reserved
+ * Copyright 2007-2023 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
@@ -54,6 +54,8 @@
/* On Microsoft platforms we support multibyte character sets in filenames */
#define _MBCS 1
+#include "autoconf/attribute.h"
+
#ifdef HAVE_CONFIG_H
# include "config/config.h"
#else
More information about the Nasm-commits
mailing list