Fix some warnings on OSX

This commit is contained in:
Neel Goyal 2014-10-17 17:41:43 -04:00
parent bd01b0b83e
commit 75d163427c
4 changed files with 16 additions and 12 deletions

View File

@ -107,7 +107,7 @@ getdns_mini_event_run_once(getdns_eventloop *loop, int blocking)
static getdns_return_t
getdns_mini_event_clear(getdns_eventloop *loop, getdns_eventloop_event *el_ev)
{
getdns_return_t r;
getdns_return_t r = GETDNS_RETURN_GOOD;
getdns_mini_event *ext = (getdns_mini_event *)loop;
assert(el_ev->ev);

View File

@ -14,6 +14,7 @@
#include "config.h"
#include "gldns/parseutil.h"
#include <strings.h>
#include <sys/time.h>
#include <time.h>
#include <ctype.h>

View File

@ -15,6 +15,7 @@
#include "config.h"
#include "gldns/rrdef.h"
#include "gldns/parseutil.h"
#include <strings.h>
/* classes */
static gldns_lookup_table gldns_rr_classes_data[] = {

View File

@ -54,6 +54,8 @@
#if defined(USE_MINI_EVENT) && !defined(USE_WINSOCK)
#include <sys/select.h>
#ifndef HAVE_EVENT_BASE_FREE
#define HAVE_EVENT_BASE_FREE
#endif