From 3233e0fb603fdae3d0064f703c90ea34fbf6c13a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 24 Apr 2013 10:35:09 -0400 Subject: [PATCH] revert addition of Includes: sys/event.h in cabal file That is very dodgy; it makes *every* C file compiled have that header added to it. Apparently sys/event.h needs some other header files to be included on some OS's, and so this leads to compile failures in completely unrelated places to the code that actually uses sys/event.h This reverts commit c993d8e7101226c8c14c92a5814cca23602f58a4, which added this with no rationalle and I must have missed in amoung the other patches when merging. Also, Utility/kqueue.c already includes sys/event.h --- git-annex.cabal | 1 - 1 file changed, 1 deletion(-) diff --git a/git-annex.cabal b/git-annex.cabal index 089a2c4f8a..8663f212cd 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -113,7 +113,6 @@ Executable git-annex if (! os(windows) && ! os(solaris) && ! os(linux)) CPP-Options: -DWITH_KQUEUE C-Sources: Utility/libkqueue.c - Includes: sys/event.h if os(linux) && flag(Dbus) Build-Depends: dbus (>= 0.10.3)