unix: Clean up includes.

Remove unnecessary includes. Add includes that improve portability.
This commit is contained in:
xbe
2014-03-15 23:24:34 -07:00
parent 51bbf6a006
commit c93a22197b
5 changed files with 9 additions and 4 deletions

View File

@@ -1,8 +1,11 @@
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "nlr.h"
#include "misc.h"
@@ -391,8 +394,6 @@ int main(int argc, char **argv) {
return 0;
}
#include <sys/stat.h>
uint mp_import_stat(const char *path) {
struct stat st;
if (stat(path, &st) == 0) {