From: Manuel Nickschas Date: Thu, 28 Nov 2013 00:45:43 +0000 (+0100) Subject: Make sys includes POSIX-compliant X-Git-Tag: 0.9.3~17 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=9e798c47eac3f01295016b6f27a48e787a072c25;hp=7a8fa5c5aaf61dabfc36476ea70223d14d135061;p=quassel.git Make sys includes POSIX-compliant We're using in quassel.cpp for the backtrace generation stuff. Documentation for that header indicates that 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 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. --- diff --git a/src/common/quassel.cpp b/src/common/quassel.cpp index e0817756..058b4b93 100644 --- a/src/common/quassel.cpp +++ b/src/common/quassel.cpp @@ -23,6 +23,8 @@ #include #include #if !defined Q_OS_WIN32 && !defined Q_OS_MAC +# include +# include # include #endif