Include sys/types.h instead of unistd.h to get uid_t and gid_t.

Add missing include of sys/types.h to a few places.
This commit is contained in:
Todd C. Miller
2015-04-09 10:58:04 -06:00
parent 7e1c2fa00c
commit eeca3b0ca4
9 changed files with 13 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014 Todd C. Miller <Todd.Miller@courtesan.com>
* Copyright (c) 2014-2015 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -16,6 +16,7 @@
#include <config.h>
#include <sys/types.h>
#include <stdio.h>
#ifdef STDC_HEADERS
# include <stdlib.h>