History log of /haiku/headers/compatibility/bsd/sysexits.h
Revision Date Author Comments
# d7b8d76a 03-Mar-2019 Niels Sascha Reedijk <niels.reedijk@gmail.com>

BSD headers: remove _BSD_SOURCE feature gate for sysexits.h

During the compilation of LLVM version 8, the build failed because it depends
on a constant in this file. In hrev49042 all BSD headers were feature-gated by
_BSD_SOURCE. This is not done (for this file) in glibc and (obviously) not in
BSD's libc.

Since this is not common practise, I would propose removing the feature gate
for this header file, as it would mean that we would have to upstream patches
for ports of other software that depends on the availability of these
constants.

Change-Id: I486f0c2e87eff489ce92d03589a6299ef1be6ca5
Reviewed-on: https://review.haiku-os.org/c/1144
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 091a80ae 15-Apr-2015 Adrien Destugues <pulkomandy@gmail.com>

Protect all BSD extensions with _BSD_SOURCE

* Do not define the symbols by default, as they are not in the default
libraries.
* Adjust jamfiles of all code using BSD extensions to define
_BSD_SOURCE.
* This makes Haiku slightly more compliant to standard C/POSIX.


# 8ea42167 27-Dec-2013 Fran├žois Revol <revol@free.fr>

Add sysexits.h from FreeBSD r259958

I'd need this for getconf.


# 091a80aeed690e629167ea9e5603f51d950e49b8 15-Apr-2015 Adrien Destugues <pulkomandy@gmail.com>

Protect all BSD extensions with _BSD_SOURCE

* Do not define the symbols by default, as they are not in the default
libraries.
* Adjust jamfiles of all code using BSD extensions to define
_BSD_SOURCE.
* This makes Haiku slightly more compliant to standard C/POSIX.


# 8ea42167a2760e20dfab961cd58ae5021dcaf3fd 27-Dec-2013 Fran├žois Revol <revol@free.fr>

Add sysexits.h from FreeBSD r259958

I'd need this for getconf.