diff mbox

[1/5] utils: resolve compiler warnings on implicit declarations

Message ID 1412284150-11771-2-git-send-email-jengelh@inai.de
State Accepted
Headers show

Commit Message

Jan Engelhardt Oct. 2, 2014, 9:09 p.m. UTC
CC       osmo-auc-gen.o
	osmo-auc-gen.c: In function 'main':
	osmo-auc-gen.c:216:3: warning: implicit declaration of function
	'time' [-Wimplicit-function-declaration]
---
 utils/osmo-auc-gen.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c
index fda045a..54128ff 100644
--- a/utils/osmo-auc-gen.c
+++ b/utils/osmo-auc-gen.c
@@ -25,6 +25,7 @@ 
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <time.h>
 #include <getopt.h>
 #include <unistd.h>
 #include <inttypes.h>