summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-12-08 10:16:28 +0100
committerYorhel <git@yorhel.nl>2012-12-08 10:16:28 +0100
commit76efe1913d06b89ea3c87dbb6e4592e8dc595a05 (patch)
treeb99ab3916db59ba9d89225c90e5d558ad6df6780
parent1333facf4261dd7f3d518c629818720e270b8cd7 (diff)
dbusev: Include config.h to find libev config
This removes the need to compile dbusev.c with special -D flags if the libev config is different than the default.
-rw-r--r--dbusev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/dbusev.c b/dbusev.c
index df81243..bbbc506 100644
--- a/dbusev.c
+++ b/dbusev.c
@@ -20,6 +20,12 @@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#if defined(EV_CONFIG_H)
+#include EV_CONFIG_H
+#elif defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
+
#include "dbusev.h"
#include <stdlib.h>