aboutsummaryrefslogtreecommitdiff
path: root/libcap/cap_file.c
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2019-12-23 22:25:46 -0800
committerAndrew G. Morgan <morgan@kernel.org>2019-12-23 22:25:46 -0800
commitd45a3d4812598fc056499fa4622be4af58076bd5 (patch)
treefa1ffae514e201500eb1269ce9c84f261a488d9e /libcap/cap_file.c
parentafef3ef1c62613e1cac12a2bbec6017f7d5e033e (diff)
downloadlibcap-d45a3d4812598fc056499fa4622be4af58076bd5.tar.gz
Ensure that gcc -std=c89 build works.
We're not using it, but it seems like a small price to pay for having targets I'm not building regularly continue to build. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'libcap/cap_file.c')
-rw-r--r--libcap/cap_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcap/cap_file.c b/libcap/cap_file.c
index cb77ee6..f86788b 100644
--- a/libcap/cap_file.c
+++ b/libcap/cap_file.c
@@ -4,6 +4,8 @@
* This file deals with setting capabilities on files.
*/
+#define _DEFAULT_SOURCE
+
#include <sys/types.h>
#include <byteswap.h>
#include <sys/stat.h>