aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-09-12 19:15:13 (GMT)
committerJouni Malinen <j@w1.fi>2011-09-12 19:19:26 (GMT)
commit531e420dd785161086dc1d1977838d420188717b (patch)
treeb073796add987b3b6561093b7b6673544b3988bd /hostapd
parent3d9e2e6615438959c9508f64d5148e06320b4827 (diff)
downloadhostap-531e420dd785161086dc1d1977838d420188717b.zip
hostap-531e420dd785161086dc1d1977838d420188717b.tar.gz
hostap-531e420dd785161086dc1d1977838d420188717b.tar.bz2
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().
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/dump_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/dump_state.c b/hostapd/dump_state.c
index 408c4f1..110cedc 100644
--- a/hostapd/dump_state.c
+++ b/hostapd/dump_state.c
@@ -13,6 +13,7 @@
*/
#include "utils/includes.h"
+#include <time.h>
#include "utils/common.h"
#include "radius/radius_client.h"