Go to file
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
include Turn <bsd/bsd.h> inert when using LIBBSD_OVERLAY 2015-12-14 00:58:59 +01:00
man Update arc4random module from OpenBSD and LibreSSL 2015-11-30 23:48:50 +01:00
src Add support for GNU/Hurd to getentropy() 2015-12-14 03:38:23 +01:00
test test: Add missing <sys/stat.h> include 2016-01-27 15:24:39 +01:00
.gitignore build: Set subdir-objects automake option 2013-10-21 05:33:08 +02:00
autogen build: Switch to autotools 2012-05-29 04:35:55 +02:00
configure.ac Release libbsd 0.8.1 2015-12-14 03:39:48 +01:00
COPYING Add support for GNU/Hurd to getentropy() 2015-12-14 03:38:23 +01:00
get-version build: Switch to autotools 2012-05-29 04:35:55 +02:00
Makefile.am build: Make git log invocation immune to local configuration 2015-11-30 23:02:23 +01:00
README Remove blank lines at EOF 2011-05-29 02:49:37 +02:00
TODO Update libbsd header references in man pages 2011-05-14 14:16:29 +02:00

libbsd - Utility functions from BSD systems

This library provides useful functions commonly found on BSD systems,
and lacking on others like GNU systems, thus making it easier to port
projects with strong BSD origins, without needing to embed the same
code over and over again on each project.


Releases
--------

  <http://libbsd.freedesktop.org/releases/>


Mailing List
------------

The subscription interface and web archives can be found at:

  <http://lists.freedesktop.org/mailman/listinfo/libbsd>

The mail address is:

  libbsd@lists.freedesktop.org


Source Repository
-----------------

  <http://cgit.freedesktop.org/libbsd>
  <git://anongit.freedesktop.org/git/libbsd>