mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 03:08:38 +01:00
008316aa29
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> |
||
---|---|---|
.. | ||
.gitignore | ||
arc4random.c | ||
bzero.c | ||
closefrom.c | ||
endian.c | ||
fgetln.c | ||
fparseln.c | ||
fpurge.c | ||
funopen.c | ||
headers-overlay.sh | ||
headers-system.sh | ||
humanize.c | ||
Makefile.am | ||
overlay.c | ||
proctitle.c | ||
strmode.c | ||
test-stream.c | ||
test-stream.h |