Revert "uClibc compatibility for core"

This reverts commit c2d2f13bfb.
This commit is contained in:
Roberto De Ioris
2012-11-23 10:10:26 +01:00
parent 35fbd85fad
commit 25db778f32
2 changed files with 5 additions and 7 deletions
+5 -5
View File
@@ -227,17 +227,17 @@ int spool_request(struct uwsgi_spooler *uspool, char *filename, int rn, int core
}
if (at > 0) {
struct timespec tv[2];
struct timeval tv[2];
tv[0].tv_sec = at;
tv[0].tv_nsec = 0;
tv[0].tv_usec = 0;
tv[1].tv_sec = at;
tv[1].tv_nsec = 0;
tv[1].tv_usec = 0;
#ifdef __sun__
if (futimesat(fd, NULL, tv)) {
#else
if (futimens(fd, tv)) {
if (futimes(fd, tv)) {
#endif
uwsgi_error("futimens()");
uwsgi_error("futimes()");
}
}
-2
View File
@@ -1,5 +1,3 @@
#include <sched.h>
#include "uwsgi.h"