mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
Move <strings.h> inclusion to "compiler.h"
Move the inclusion of <strings.h> from nasmlib.h to compiler.h Try to centralize compiler dependences as much as possible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
8960e1bc83
commit
4c50b6c892
@ -85,6 +85,9 @@
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_STRINGS_H
|
||||
# include <strings.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
@ -41,10 +41,6 @@
|
||||
#include "compiler.h"
|
||||
#include "bytesex.h"
|
||||
|
||||
#ifdef HAVE_STRINGS_H
|
||||
# include <strings.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Wrappers around malloc, realloc, free and a few more. nasm_malloc
|
||||
* will fatal-error and die rather than return NULL; nasm_realloc will
|
||||
|
Loading…
Reference in New Issue
Block a user