Define DEFFILEMODE and friends

Define the macros ACCESSPERMS, ALLPERMS and DEFFILEMODE.
These macros originates from BSD but has been available in glibc
for quite some time.

Change-Id: I429cd30aa4e73f53b153ee7740070cebba166c57
This commit is contained in:
Hakan Kvist
2012-10-10 08:32:52 +02:00
committed by Elliott Hughes
parent dea13da340
commit f27b7fb056
4 changed files with 11 additions and 4 deletions

View File

@@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
#define __USE_BSD
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>