git: <unistd.h>: Use types which we actually have.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Feb 13 01:08:01 PST 2016


commit 89d02fdbbf6da8f97e520a0a65364ca611d49e66
Author: Sascha Wildner <saw at online.de>
Date:   Sat Feb 13 10:02:08 2016 +0100

    <unistd.h>: Use types which we actually have.
    
    This is dead code at the moment because <unistd.h> includes
    <sys/types.h>, leading to these types being already defined
    at this point. This commit prepares for the day when we
    remove <sys/types.h> from all headers which do not actually
    need it.
    
    We should probably have __gid_t and __uid_t.

Summary of changes:
 include/unistd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/89d02fdbbf6da8f97e520a0a65364ca611d49e66


-- 
DragonFly BSD source repository


More information about the Commits mailing list