explicitly include sys/types.h

some smaller libc variants do not include this from sys/param.h.
This commit is contained in:
Joris Vink 2019-03-06 09:29:46 +01:00
parent 61863bfd3a
commit eb9b7f7b14
17 changed files with 19 additions and 0 deletions

View File

@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <time.h> #include <time.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <ctype.h> #include <ctype.h>

View File

@ -14,6 +14,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <sys/types.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdio.h> #include <stdio.h>

View File

@ -21,6 +21,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#if !defined(KORE_NO_TLS) #if !defined(KORE_NO_TLS)
#include <openssl/x509.h> #include <openssl/x509.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>

View File

@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <dlfcn.h> #include <dlfcn.h>

View File

@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <signal.h> #include <signal.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#if defined(__linux__) #if defined(__linux__)
#include <endian.h> #include <endian.h>

View File

@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/queue.h> #include <sys/queue.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include "kore.h" #include "kore.h"

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <sys/queue.h> #include <sys/queue.h>
#include "kore.h" #include "kore.h"

View File

@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <ctype.h> #include <ctype.h>

View File

@ -14,6 +14,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <sys/types.h>
#include "kore.h" #include "kore.h"
TAILQ_HEAD(, kore_validator) validators; TAILQ_HEAD(, kore_validator) validators;

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <openssl/sha.h> #include <openssl/sha.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <sys/shm.h> #include <sys/shm.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/time.h> #include <sys/time.h>