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 c993d8e710, 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
This commit is contained in:
Joey Hess 2013-04-24 10:35:09 -04:00
parent 866f25c0d3
commit 3233e0fb60

View file

@ -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)