1
0
mirror of https://github.com/KDE/krfb synced 2026-07-01 07:41:17 -07:00
Files
Raphael Kubo da Costa 636dd0ffc6 Set _XOPEN_SOURCE for random(3) and srandom(3).
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
2012-09-09 19:07:30 +00:00
..
2010-11-10 18:57:13 +00:00
2010-11-10 18:57:13 +00:00