From 6510e8af463a43ef686f17968e87f9c4b5cc868f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 3 Jan 2019 17:19:25 -0500 Subject: posix1e: Don't #include on FreeBSD The file is there by default, but deprecated and not a POSIX.1E implementation. While I'm at it, move the logic to posix1e.h so other files aren't burdened with an extra include. Fixes the other half of #40. --- util.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 2031c02..d96b79d 100644 --- a/util.h +++ b/util.h @@ -40,13 +40,6 @@ #define BFS_HAS_SYS_PARAM BFS_HAS_INCLUDE(, true) #define BFS_HAS_SYS_SYSMACROS BFS_HAS_INCLUDE(, __GLIBC__) -#if BFS_HAS_SYS_CAPABILITY -# include -# ifdef CAP_CHOWN -# define BFS_HAS_POSIX1E_CAPABILITIES true -# endif -#endif - #if !defined(FNM_CASEFOLD) && defined(FNM_IGNORECASE) # define FNM_CASEFOLD FNM_IGNORECASE #endif -- cgit v1.2.3