libbsd/src
Baruch Siach 13c32916b4 flopen: Add missing <fcntl.h> include
Commit 993828d84e (Add flopenat() function from FreeBSD) dropped the
fcntl.h header. This breaks the build with musl libc:

flopen.c: In function ‘vflopenat’:
flopen.c:60:14: error: ‘O_CREAT’ undeclared (first use in this function)
  if (flags & O_CREAT) {
              ^~~~~~~

Restore the fcntl.h header include to fix the build.

Fixes: commit 993828d84e
Submitted-also-by: parazyd <parazyd@dyne.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2018-06-17 20:23:48 +02:00
..
hash Remove RCSID tags 2017-06-19 03:17:21 +02:00
arc4random_linux.h Update arc4random() headers from OpenBSD 2018-05-21 04:47:28 +02:00
arc4random_openbsd.h Update arc4random module from OpenBSD and LibreSSL 2015-11-30 23:48:50 +01:00
arc4random_uniform.c Update arc4random module from OpenBSD and LibreSSL 2015-11-30 23:48:50 +01:00
arc4random_unix.h Update arc4random() headers from OpenBSD 2018-05-21 04:47:28 +02:00
arc4random_win.h Add Windows support for getentropy() and arc4random() 2018-05-21 04:48:32 +02:00
arc4random.c Do not use legacy BSD u_* types 2017-06-05 06:18:27 +02:00
arc4random.h Add Windows support for getentropy() and arc4random() 2018-05-21 04:48:32 +02:00
bsd_getopt.c Constify bsd_getopt(3) arguments 2011-06-08 02:10:38 +02:00
chacha_private.h Update few RCS keyword contents to match BSD originals 2018-05-21 04:47:28 +02:00
closefrom.c Add support for GNU/kFreeBSD for closefrom() and getentropy() 2015-12-02 03:32:13 +01:00
dehumanize_number.c Fix dehumanize_number() to correctly detect overflows 2013-10-21 05:29:37 +02:00
err.c Base errc() and warnc() on vwarnc() and verrc() respectively 2012-05-29 04:36:23 +02:00
expand_number.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
explicit_bzero.c Add explicit_bzero() function from OpenBSD 2015-09-24 05:47:58 +02:00
fgetln.c Fix typo in fgetln() linker warning 2018-05-21 04:48:32 +02:00
fgetwln.c Deprecate fgetwln() 2018-05-21 04:48:32 +02:00
flopen.c flopen: Add missing <fcntl.h> include 2018-06-17 20:23:48 +02:00
fmtcheck.c Update fmtcheck() from NetBSD 2018-05-21 04:47:28 +02:00
fparseln.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
fpurge.c test: Move and activate fpurge() test case from module to a dedicated file 2015-09-23 07:59:34 +02:00
funopen.c Do not provide funopen() on musl 2017-06-05 05:52:07 +02:00
getbsize.c Add getbsize() function 2014-07-15 10:57:42 +02:00
getentropy_aix.c Update getentropy() code from OpenBSD 2018-05-21 04:47:28 +02:00
getentropy_bsd.c Update getentropy() code from OpenBSD 2018-05-21 04:47:28 +02:00
getentropy_hpux.c Update getentropy() code from OpenBSD 2018-05-21 04:47:28 +02:00
getentropy_hurd.c Update getentropy() code from OpenBSD 2018-05-21 04:47:28 +02:00
getentropy_linux.c Update getentropy() code from OpenBSD 2018-05-21 04:47:28 +02:00
getentropy_osx.c Update getentropy() code from OpenBSD 2018-05-21 04:47:28 +02:00
getentropy_solaris.c Update getentropy() code from OpenBSD 2018-05-21 04:47:28 +02:00
getentropy_win.c Add Windows support for getentropy() and arc4random() 2018-05-21 04:48:32 +02:00
getentropy.c Add Windows support for getentropy() and arc4random() 2018-05-21 04:48:32 +02:00
getpeereid.c Fix getpeereid() compilation on Solaris 2013-05-27 04:05:17 +02:00
heapsort.c Update heapsort() from OpenBSD 2018-05-21 04:47:28 +02:00
humanize_number.c Update humanize_number() from FreeBSD 2018-05-21 04:47:28 +02:00
inet_net_pton.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
libbsd-ctor.pc.in Switch URLs from http or git to https 2016-02-13 08:46:35 +01:00
libbsd-overlay.pc.in Switch URLs from http or git to https 2016-02-13 08:46:35 +01:00
libbsd.map Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
libbsd.pc.in Switch URLs from http or git to https 2016-02-13 08:46:35 +01:00
local-elf.h Fix build for openrisc with uClibc 2018-04-04 02:29:15 +02:00
local-link.h build: Add support for linker warnings 2015-09-23 07:59:34 +02:00
Makefile.am Add Windows support for getentropy() and arc4random() 2018-05-21 04:48:32 +02:00
merge.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
nlist.c Fix broken mmap() usage in nlist() by switching to pread() 2017-06-19 03:17:21 +02:00
pidfile.c Update pidfile module from FreeBSD 2018-05-21 04:47:28 +02:00
progname.c progname: Port to Windows 2018-03-06 01:10:14 +01:00
radixsort.c Update few RCS keyword contents to match BSD originals 2018-05-21 04:47:28 +02:00
readpassphrase.c Update readpassphrase() from OpenBSD 2018-05-21 04:47:28 +02:00
reallocarray.c Avoid left shift overflow in reallocarray 2015-09-23 07:59:34 +02:00
reallocf.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
setmode.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
setproctitle_ctor.c Move setproctitle() automatic initialization to its own library 2013-07-14 13:32:11 +02:00
setproctitle.c Fix handling of non-contiguous argv + envp in setproctitle() 2017-07-17 00:58:06 +02:00
stringlist.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
strlcat.c Make strlcpy()/strlcat() slightly easier to read 2017-06-19 03:17:21 +02:00
strlcpy.c Make strlcpy()/strlcat() slightly easier to read 2017-06-19 03:17:21 +02:00
strmode.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
strnstr.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
strtoi.c Import strtoi() and strtou() functions from NetBSD 2018-05-21 04:47:28 +02:00
strtonum.c Switch strtonum() implementation from strtoll() to strtoi() 2018-05-21 04:48:32 +02:00
strtou.c Import strtoi() and strtou() functions from NetBSD 2018-05-21 04:47:28 +02:00
timeconv.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
unvis.c Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
vis.c Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
wcslcat.c Remove RCSID tags 2017-06-19 03:17:21 +02:00
wcslcpy.c Remove RCSID tags 2017-06-19 03:17:21 +02:00