fix missing cygwin header:w::wq

This commit is contained in:
Vitor Santos Costa 2012-06-07 10:29:17 -05:00
parent 2f434ff48b
commit 71bd1d9d1f

5
os/pl-rl.c Normal file → Executable file
View File

@ -50,6 +50,11 @@ SWI-Prolog.h and SWI-Stream.h
#include <config.h> #include <config.h>
#endif #endif
#if defined(__CYGWIN__) && defined(__YAP_PROLOG__)
#include <sys/time.h>
#endif
/* Disabled if dmalloc() is used because the readline library is full of /* Disabled if dmalloc() is used because the readline library is full of
leaks and freeing the line returned by readline is considered an leaks and freeing the line returned by readline is considered an
error by the dmalloc library error by the dmalloc library