diff options
author | Yorhel <git@yorhel.nl> | 2012-12-08 10:16:28 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2012-12-08 10:16:28 +0100 |
commit | 76efe1913d06b89ea3c87dbb6e4592e8dc595a05 (patch) | |
tree | b99ab3916db59ba9d89225c90e5d558ad6df6780 | |
parent | 1333facf4261dd7f3d518c629818720e270b8cd7 (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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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> |