libport: Use configure guards for include files that may not be present.

This commit is contained in:
Rob Shearman 2008-02-13 13:18:37 +00:00 committed by Alexandre Julliard
parent fc82d8c221
commit 1279cf3597
1 changed files with 6 additions and 2 deletions

View File

@ -24,8 +24,12 @@
#ifndef HAVE_FUTIMES #ifndef HAVE_FUTIMES
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #ifdef HAVE_SYS_TIME_H
#include <utime.h> # include <sys/time.h>
#endif
#ifdef HAVE_UTIME_H
# include <utime.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>