Most of the files here require the string.h include on x86 platforms. So I add
it on a common place dps_internal.h protected by all the standard stuff. This commit was SVN r5554.
Этот коммит содержится в:
родитель
bcd4797389
Коммит
6fd89c67b3
@ -25,6 +25,13 @@
|
||||
|
||||
#include "dps/dps.h"
|
||||
|
||||
#if HAVE_STRING_H
|
||||
# if !defined(STDC_HEADERS) && HAVE_MEMORY_H
|
||||
# include <memory.h>
|
||||
# endif
|
||||
# include <string.h>
|
||||
#endif
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
@ -21,7 +21,6 @@
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#include "mca/errmgr/errmgr.h"
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user