diff options
author | Joey Hess <joey@kitenet.net> | 2013-04-24 10:35:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-04-24 10:35:09 -0400 |
commit | 176c58f65cb876d3edeaff9b68ab039995147ef5 (patch) | |
tree | cb159951bd9bbb6d9622767eb6532b0087b0e4dd /git-annex.cabal | |
parent | 033a03baa1624b80b072cd74b71216785816fda1 (diff) |
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 a767040a53182cde16434cba686252bbaf776cf9, 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
Diffstat (limited to 'git-annex.cabal')
-rw-r--r-- | git-annex.cabal | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index 089a2c4f8..8663f212c 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) |