mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:31:16 -07:00
These two functions are not defined when building with -ansi (which is set in FindKDE4Internal.cmake). For glibc-based systems, defining _BSD_SOURCE adds those functions back, but this macro is not portable. Fix that by defining _XOPEN_SOURCE as well, since this one is recognized across other systems. We could set it to 500, but 600 has been chosen to keep it in sync with the rest of the patches I have sent upstream [1]. [1] http://sourceforge.net/mailarchive/message.php?msg_id=29786756 CCMAIL: kiagiadakis.george@gmail.com svn path=/branches/KDE/4.9/kdenetwork/krfb/; revision=1315649