After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 375897 - Build failure due to RAND_MAX not being defined
Build failure due to RAND_MAX not being defined
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-16 12:42 UTC by Björn Lindqvist
Modified: 2006-11-16 16:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Björn Lindqvist 2006-11-16 12:42:53 UTC
#include <stdlib.h> was removed from eog-save-as-dialog-helper.c. It must be put back because (on my machine) it contains the definition of RAND_MAX and the build will fail without it.
Comment 1 Claudio Saavedra 2006-11-16 16:43:09 UTC
My mistake. Sorry.

Fixed in HEAD:

2006-11-16  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * shell/eog-save-as-dialog-helper.c: Adding back <stdlib.h>, as it is 
        needed for some machines. Fixes bug #375897.