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:50:37 +0000 (01:50 +0100)
commit9e798c47eac3f01295016b6f27a48e787a072c25
tree2e822dfe1486de6668238ec9b516f125d843ad70
parent7a8fa5c5aaf61dabfc36476ea70223d14d135061
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