Conditionalized in the correct event.h location for FreeBSD - probably merits further discussion

This commit is contained in:
Melinda Shore 2013-08-28 17:09:11 -08:00
parent 3becc43502
commit 98c953b6e4
1 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,11 @@
#include <stdlib.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <event.h>
#if defined( __FreeBSD__ )
# include <event2/event.h>
#else
# include <event.h>
#endif
#define GETDNS_COMPILATION_COMMENT The API implementation should fill in something here, such as a compilation version string and date, and change it each time the API is compiled.