mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 13:13:17 -05:00
Preproc defines in evhttp_compat.h to protect against double inclusion
This commit is contained in:
parent
b38dea0221
commit
b0807b168e
@ -1,3 +1,6 @@
|
|||||||
|
#ifndef _EVHTTP_COMPAT_H_
|
||||||
|
#define _EVHTTP_COMPAT_H_
|
||||||
|
|
||||||
#include "evhttp.h"
|
#include "evhttp.h"
|
||||||
|
|
||||||
/* This file should only be included if using libevent 1
|
/* This file should only be included if using libevent 1
|
||||||
@ -24,4 +27,4 @@ evhttp_connection_base_new(struct event_base *base, void *ignore, const char *ad
|
|||||||
void
|
void
|
||||||
evhttp_request_set_header_cb(struct evhttp_request *req, int (*cb)(struct evhttp_request *, void *));
|
evhttp_request_set_header_cb(struct evhttp_request *req, int (*cb)(struct evhttp_request *, void *));
|
||||||
|
|
||||||
|
#endif /* _EVHTTP_COMPAT_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user