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>
This commit is contained in:
Niels Sascha Reedijk 2019-03-03 21:42:17 +01:00 committed by waddlesplash
parent 52a61976d4
commit d7b8d76a78

View File

@ -35,9 +35,6 @@
#define _SYSEXITS_H_
#ifdef _BSD_SOURCE
/*
* SYSEXITS.H -- Exit status codes for system programs.
*
@ -118,7 +115,4 @@
#define EX__MAX 78 /* maximum listed value */
#endif
#endif /* !_SYSEXITS_H_ */