try to fix werror + pch build on linux

This should fix RandomConfig tb run #396

Change-Id: Idd7984e3c4225b08db50b2451112135aaf2e1890
Reviewed-on: https://gerrit.libreoffice.org/36584
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
Markus Mohrhard
2017-04-16 19:39:37 +02:00
parent 377d2d4bed
commit 31abe9e44d

View File

@@ -20,9 +20,11 @@
./bin/update_pch_bisect ./sal/inc/pch/precompiled_sal.hxx "make sal.build" --find-conflicts
*/
#if defined(_WIN32)
#if !defined _CRT_RAND_S
#define _CRT_RAND_S
#endif
#endif
#include <algorithm>
#include <cassert>