(trunk libT) now that bencode.c doesn't call stat() anymore, we can remove a couple of #includes

This commit is contained in:
Jordan Lee 2011-02-03 06:19:54 +00:00
parent 2450d6514b
commit deac8fedbe
1 changed files with 3 additions and 6 deletions

View File

@ -14,8 +14,7 @@
#include <ctype.h> /* isdigit() */ #include <ctype.h> /* isdigit() */
#include <errno.h> #include <errno.h>
#include <math.h> /* fabs() */ #include <math.h> /* fabs() */
#include <stdio.h> #include <stdio.h> /* rename() */
#include <stdlib.h> /* realpath() */
#include <string.h> #include <string.h>
#ifdef WIN32 /* tr_mkstemp() */ #ifdef WIN32 /* tr_mkstemp() */
@ -24,10 +23,8 @@
#define _S_IWRITE 128 #define _S_IWRITE 128
#endif #endif
#include <sys/types.h> /* stat() */ #include <locale.h> /* setlocale() */
#include <sys/stat.h> /* stat() */ #include <unistd.h> /* write(), unlink() */
#include <locale.h>
#include <unistd.h> /* stat() */
#include <event2/buffer.h> #include <event2/buffer.h>