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

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

parent 87e9fc88
......@@ -13,9 +13,11 @@
#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>
# include <string.h> /* Needed on NetBSD1.1/SPARC due to bzero/FD_ZERO. */
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h> /* Needed on AIX 4.2 due to bzero/FD_ZERO. */
#endif
struct oop_adapter_adns {
......
......@@ -21,9 +21,11 @@
#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>
# include <string.h> /* Needed on NetBSD1.1/SPARC due to bzero/FD_ZERO. */
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h> /* Needed on AIX 4.2 due to bzero/FD_ZERO. */
#endif
static int use_count = 0;
......
......@@ -9,9 +9,11 @@
#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>
# include <string.h> /* Needed on NetBSD1.1/SPARC due to bzero/FD_ZERO. */
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h> /* Needed on AIX 4.2 due to bzero/FD_ZERO. */
#endif
struct select_set {
......
......@@ -25,9 +25,11 @@
#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>
# include <string.h> /* Needed on NetBSD1.1/SPARC due to bzero/FD_ZERO. */
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h> /* Needed on AIX 4.2 due to bzero/FD_ZERO. */
#endif
#define MAGIC 0x9643
......
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