include sys/types.h

I have a report that this is necessary for freebsd.
It seemed not necessary for OSX, but even there the kqueue
man page says to include this header (along with sys/time.h
which it already does).
This commit is contained in:
Joey Hess 2013-04-24 10:39:52 -04:00
parent 3233e0fb60
commit 47751372fb

View file

@ -10,6 +10,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
#include <errno.h>