mirror of https://github.com/getdnsapi/getdns.git
Conditionalized in the correct event.h location for FreeBSD - probably merits further discussion
This commit is contained in:
parent
3becc43502
commit
98c953b6e4
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue