Commit 98b2d199 authored by Igor Mitsyanko's avatar Igor Mitsyanko Committed by Michael Tokarev
Browse files

osdep.h: include sys/types.h for ssize_t definition

sys/types.h is taken out from "ifdef __OpenBSD__" guard. It should be
safe for other systems, according to following survey:
http://hacks.owlfolio.org/header-survey/



This fixes build for CONFIG_IOVEC-less systems (mingw).

Signed-off-by: default avatarIgor Mitsyanko <i.mitsyanko@gmail.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent c7e775e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,8 +5,8 @@
#include <stdarg.h>
#include <stddef.h>
#include <stdbool.h>
#ifdef __OpenBSD__
#include <sys/types.h>
#ifdef __OpenBSD__
#include <sys/signal.h>
#endif