Make sys includes POSIX-compliant
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 28 Nov 2013 00:45:43 +0000 (01:45 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 28 Nov 2013 00:45:43 +0000 (01:45 +0100)
commitc44ad636e50c5ad8207cc59f10866539afa8a216
tree19c2946aafa35bb40a214e812bc25348ed35db3a
parent3b0aace6dc1e85d832f411e4ad0b8aed74d333b0
Make sys includes POSIX-compliant

We're using <sys/resources.h> in quassel.cpp for the backtrace generation
stuff. Documentation for that header indicates that <sys/time.h> shall also
be included (even though it doesn't seem to be needed for our usage).
Additionally, compiling started to fail in recent FreeBSD versions, because
we lacked the <sys/types.h> include, which seems to be mandated by POSIX
(but not on Linux, although it won't hurt to have it).

tl;dr: This should make Quassel compile on recent versions of FreeBSD again.
src/common/quassel.cpp