We still need to include string.h for AIX (and possibly others)
when we are not using the system memset_r() function and rsize_t is defined by the system headers.
This commit is contained in:
@@ -24,9 +24,12 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#ifndef HAVE_MEMSET_S
|
#if !defined(HAVE_MEMSET_S) && !defined(rsize_t)
|
||||||
# include <stddef.h> /* for rsize_t */
|
# include <stddef.h> /* for rsize_t */
|
||||||
#endif /* HAVE_MEMSET_S */
|
# ifdef HAVE_STRING_H
|
||||||
|
# include <string.h> /* for rsize_t on AIX */
|
||||||
|
# endif /* HAVE_STRING_H */
|
||||||
|
#endif /* HAVE_MEMSET_S && rsize_t */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Macros and functions that may be missing on some operating systems.
|
* Macros and functions that may be missing on some operating systems.
|
||||||
|
Reference in New Issue
Block a user