]> git.saurik.com Git - apple/libc.git/blobdiff - gen/strtofflags.c
Libc-997.1.1.tar.gz
[apple/libc.git] / gen / strtofflags.c
index fdf353a6a59bb391a7da34e827b761309efd9287..d112983bc741e1ef6ef113b251ce3c47b43dd8ac 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
- * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
@@ -70,6 +68,7 @@ static const char rcsid[] =
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 static struct {
        char *name;
@@ -91,6 +90,8 @@ static struct {
        { "nouimmutable",       UF_IMMUTABLE,   0 },
        { "nodump",             UF_NODUMP,      1 },
        { "noopaque",           UF_OPAQUE,      0 },
+       { "nohidden",           UF_HIDDEN,      0 },
+       { "nocompressed",       UF_COMPRESSED,  0 },
 };
 #define longestflaglen 12
 #define nmappings      (sizeof(mapping) / sizeof(mapping[0]))