since it's already included through "setup.h".
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if !defined(WIN32) || defined(WATT32)
#ifdef HAVE_SYS_TIME_H
*/
#include "setup.h"
-#include <sys/types.h>
#if !defined(WIN32) || defined(WATT32)
#include <sys/socket.h>
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
* without express or implied warranty.
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
if (!fp)
{
error = ERRNO;
- switch(error)
+ switch(error)
{
case ENOENT:
case ESRCH:
default:
DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
error, strerror(error)));
- DEBUGF(fprintf(stderr, "Error opening file: %s\n",
+ DEBUGF(fprintf(stderr, "Error opening file: %s\n",
PATH_HOSTS));
*host = NULL;
return ARES_EFILE;
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
if (!fp)
{
error = ERRNO;
- switch(error)
+ switch(error)
{
case ENOENT:
case ESRCH:
default:
DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
error, strerror(error)));
- DEBUGF(fprintf(stderr, "Error opening file: %s\n",
+ DEBUGF(fprintf(stderr, "Error opening file: %s\n",
PATH_HOSTS));
*host = NULL;
return ARES_EFILE;
* without express or implied warranty.
*/
#include "setup.h"
-#include <sys/types.h>
-#include <ctype.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
*/
#include "setup.h"
-#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#ifndef HAVE_BITNCMP
-#include <sys/types.h>
-#include <string.h>
-#include <stdlib.h>
+#include "setup.h"
#include "bitncmp.h"
/*
#include "setup.h"
-
-#include <sys/types.h>
-
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
#else
#include "setup.h"
-#include <sys/types.h>
-
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
#else