Include <sys/types.h> to get off_t

This header is even shipped by Windows compilers. The iostream stuff
uses off_t.
This commit is contained in:
Lassi Kortela 2019-08-18 00:09:43 +03:00
parent baea23ab29
commit 3dc58baa4a
10 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#include <sys/types.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>

View File

@ -1,6 +1,8 @@
// Copyright 2019 Lassi Kortela
// SPDX-License-Identifier: BSD-3-Clause
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>

View File

@ -1,3 +1,5 @@
#include <sys/types.h>
#include <assert.h>
#include <limits.h>
#include <math.h>

View File

@ -1,3 +1,5 @@
#include <sys/types.h>
#include <assert.h>
#include <math.h>
#include <setjmp.h>

View File

@ -2,6 +2,8 @@
Hashing
*/
#include <sys/types.h>
#include <math.h>
#include <stdarg.h>
#include <stdint.h>

View File

@ -1,3 +1,5 @@
#include <sys/types.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>

View File

@ -1,3 +1,5 @@
#include <sys/types.h>
#include <locale.h>
#include <math.h>
#include <stdarg.h>

View File

@ -1,3 +1,5 @@
#include <sys/types.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>

View File

@ -1,3 +1,4 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <assert.h>

View File

@ -1,3 +1,5 @@
#include <sys/types.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>