mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-09 04:05:12 -04:00
programs/prog_util.h: include sys/types.h
Include sys/types.h to avoid the following build failure on uclibc: In file included from programs/gzip.c:28:0: programs/prog_util.h:159:1: error: unknown type name ‘ssize_t’ ssize_t xread(struct file_stream *strm, void *buf, size_t count); ^ Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
parent
60b6197fa6
commit
e1803dc145
@ -38,6 +38,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifndef _WIN32
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include "../common/common_defs.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user