-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add back minimal fcntl.h needed for openat exposure
- Loading branch information
1 parent
9d0de24
commit 2aa80c3
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
AC_PREREQ(2.65) | ||
AC_INIT([libdicl], | ||
[0.1.38], | ||
[0.1.39], | ||
[[email protected]]) | ||
|
||
AC_SUBST(ACLOCAL_AMFLAGS, "-I macros") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef LIBDICL_FCNTL_H | ||
#define LIBDICL_FCNTL_H | ||
|
||
#if defined(__GNUC__) | ||
#include_next <fcntl.h> | ||
#else | ||
#include "/usr/include/fcntl.h" | ||
#endif | ||
|
||
#if defined(__cplusplus) | ||
extern "C" { | ||
#endif | ||
/* Missing pieces */ | ||
extern int openat(int fd, const char *path, int oflag, ...); | ||
|
||
#if defined(__cplusplus) | ||
} | ||
#endif | ||
|
||
#endif |