1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-12-07 03:12:37 +00:00

Removed inclusion of <sys/types.h> in .c-files

since it's already included through "setup.h".
This commit is contained in:
Gisle Vanem
2007-02-26 04:33:19 +00:00
parent 7c76875958
commit a627160041
23 changed files with 5 additions and 33 deletions

View File

@ -15,7 +15,6 @@
* without express or implied warranty.
*/
#include "setup.h"
#include <sys/types.h>
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
@ -221,7 +220,7 @@ static int file_lookup(union ares_addr *addr, int family, struct hostent **host)
if (!fp)
{
error = ERRNO;
switch(error)
switch(error)
{
case ENOENT:
case ESRCH:
@ -229,7 +228,7 @@ static int file_lookup(union ares_addr *addr, int family, struct hostent **host)
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;