Check for dirent.h.

This commit is contained in:
Guus Sliepen 2010-03-01 23:44:46 +01:00
parent 21f33b6382
commit d47ab576a2
2 changed files with 6 additions and 2 deletions

4
have.h
View file

@ -96,6 +96,10 @@
#include <sys/uio.h>
#endif
#ifdef HAVE_DIRENT_H
#include <dirent.h>
#endif
/* SunOS really wants sys/socket.h BEFORE net/if.h,
and FreeBSD wants these lines below the rest. */