diff options
author | H. Peter Anvin <hpa@zytor.com> | 2018-12-26 06:37:25 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2018-12-26 06:37:25 -0800 |
commit | a162092532b2c1c6e3af688c60e9ce67273632e4 (patch) | |
tree | b4365e587e7aa45acdf6c582b74b3177ba5f7f30 | |
parent | 2e53f27e9dbe8c02b39696569297c86e7cad323c (diff) | |
download | nasm-a162092532b2c1c6e3af688c60e9ce67273632e4.tar.gz |
nasmlib/ver.[ch]: add "compiler.h"
We should use "compiler.h", not just include <stdlib.h> explicitly.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | include/ver.h | 2 | ||||
-rw-r--r-- | nasmlib/ver.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ver.h b/include/ver.h index dfc4c6ad..ab6e9784 100644 --- a/include/ver.h +++ b/include/ver.h @@ -38,6 +38,8 @@ #ifndef NASM_VER_H #define NASM_VER_H +#include "compiler.h" + extern const char nasm_version[]; extern const char nasm_date[]; extern const char nasm_compile_options[]; diff --git a/nasmlib/ver.c b/nasmlib/ver.c index d05fc2d1..9f80f79c 100644 --- a/nasmlib/ver.c +++ b/nasmlib/ver.c @@ -31,8 +31,6 @@ * * ----------------------------------------------------------------------- */ -#include <stdlib.h> - #include "ver.h" #include "version.h" |