Fixed issue #44.

Removed unnesessary include <sys/types.h> from stdio.h, stdlib.h,
string.h, strings.h and time.h.
This commit is contained in:
Sergey
2015-06-21 18:59:02 -07:00
parent aedd0138b3
commit bca590d42b
10 changed files with 52 additions and 12 deletions

View File

@@ -6,7 +6,15 @@
#ifndef _TIME_H
#define _TIME_H
#include <sys/types.h> /* for time_t */
#ifndef _TIME_T
#define _TIME_T
typedef long time_t;
#endif
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned size_t;
#endif
/*
* Structure returned by gmtime and localtime calls (see ctime(3)).