[Kde-games-devel] Review Request 127517: Include <time.h>.

Tobias Berner tcberner at gmail.com
Mon Mar 28 22:12:38 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127517/
-----------------------------------------------------------

(Updated March 28, 2016, 10:12 p.m.)


Review request for KDE Games, Raphael Kubo da Costa and Frederik Schwarzer.


Repository: knavalbattle


Description
-------

This fixes a build error on FreeBSD:

        /wrkdirs/usr/ports/games/knavalbattle/work/knavalbattle-16.03.80/src/ai/dummyai.cpp:16:12: error: use of undeclared identifier 'time'
            qsrand(time(0));


Diffs
-----

  src/ai/dummyai.cpp adf4094 
  src/ai/smartai.cpp 1c702a5 

Diff: https://git.reviewboard.kde.org/r/127517/diff/


Testing
-------

Built locally.


Thanks,

Tobias Berner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20160328/d0024b81/attachment.html>


More information about the kde-games-devel mailing list