Remove time.h include from utils/includes.h

os_*() wrappers should be used instead of functions from time.h.
Removing the header from includes.h enforces this. os_unix.c can
include this its uses are valid wrapper calls. wps_upnp.c uses
gmtime() for which there is no os_*() wrapper available yet, so
allow it to use time.h, too. Similarly, allow dump_state.c to
use time.h for ctime().
This commit is contained in:
Jouni Malinen 2011-09-12 22:15:13 +03:00
parent 3d9e2e6615
commit 531e420dd7
4 changed files with 4 additions and 2 deletions

View file

@ -14,6 +14,8 @@
#include "includes.h"
#include <time.h>
#ifdef ANDROID
#include <linux/capability.h>
#include <linux/prctl.h>