Hanno Boeck 008316aa29 test: Add missing <sys/stat.h> include
The test in test/strmode.c can fail to compile depending on the
optimization flags used.

The constants that are used in this file (S_IFREG etc.) come from the
<sys/stat.h> include file. It seems gcc ignores this error if one
compiles with "-O2" (default), but if one uses no optimization it fails.

Add the missing include and it works all the time.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=93880
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2016-01-27 15:24:39 +01:00
..
2015-09-23 07:59:34 +02:00
2015-09-23 07:59:34 +02:00
2015-09-23 07:59:34 +02:00
2013-10-21 05:35:44 +02:00
2015-11-30 23:48:50 +01:00