EVENT-CLIENT: fix potential compile problems with older compilers
[citadel.git] / citadel / event_client.h
index 4be26614c215837d904f70d508aafd5a82e1f1e2..bf4aa4ea4ef58e00d3177fdf295783d29709cc57 100644 (file)
 #include <ares.h>
 #include <curl/curl.h>
 
+#ifndef __ASYNCIO__
+#define __ASYNCIO__
 typedef struct AsyncIO AsyncIO;
+#endif
+#ifndef __CIT_CONTEXT__
+#define __CIT_CONTEXT__
 typedef struct CitContext CitContext;
+#endif
 
 typedef enum _eNextState {
        eSendDNSQuery,