Commit f3e5bc07 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include <string.h> to get rid of a warning on AIX 4.3.

parent c275b833
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
#include <assert.h> #include <assert.h>
#ifdef HAVE_STRING_H
/* Get rid of "warning: implicit declaration of function `bzero'"
warning on AIX 4.3 when FD_ZERO is used. */
#include <string.h>
#endif
struct oop_adapter_adns { struct oop_adapter_adns {
oop_source *source; oop_source *source;
oop_adapter_select *select; oop_adapter_select *select;
......
...@@ -20,6 +20,12 @@ ...@@ -20,6 +20,12 @@
#include <poll.h> #include <poll.h>
#endif #endif
#ifdef HAVE_STRING_H
/* Get rid of "warning: implicit declaration of function `bzero'"
warning on AIX 4.3 when FD_ZERO is used. */
#include <string.h>
#endif
static int use_count = 0; static int use_count = 0;
static oop_source_sys *sys; static oop_source_sys *sys;
static oop_adapter_select *sel; static oop_adapter_select *sel;
......
...@@ -8,6 +8,12 @@ ...@@ -8,6 +8,12 @@
#include <assert.h> #include <assert.h>
#ifdef HAVE_STRING_H
/* Get rid of "warning: implicit declaration of function `bzero'"
warning on AIX 4.3 when FD_ZERO is used. */
#include <string.h>
#endif
struct select_set { struct select_set {
fd_set rfd,wfd,xfd; fd_set rfd,wfd,xfd;
}; };
......
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
#include <sys/socket.h> #include <sys/socket.h>
#endif #endif
#ifdef HAVE_STRING_H
/* Get rid of "warning: implicit declaration of function `bzero'"
warning on AIX 4.3 when FD_ZERO is used. */
#include <string.h>
#endif
#define MAGIC 0x9643 #define MAGIC 0x9643
struct sys_time { struct sys_time {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment