pextlib1.0: utime.h is required by posix, no need to ifdef

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@58837 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Toby Peterson
2009-10-06 05:20:52 +00:00
parent 545a9f0f35
commit fb7daa966e
-5
View File
@@ -40,10 +40,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif
#include <curl/curl.h>
@@ -396,7 +393,6 @@ CurlFetchCmd(Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
}
#endif
#ifdef HAVE_UTIME_H
if (remotetime) {
theCurlCode = curl_easy_getinfo(theHandle, CURLINFO_FILETIME, &theFileTime);
if (theFileTime > 0) {
@@ -406,7 +402,6 @@ CurlFetchCmd(Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
utime(theFilePath, &times); /* set the time we got */
}
}
#endif /*HAVE_UTIME_H*/
/* free header memory */
curl_slist_free_all(headers);