libosmocore/0001-utils-resolve-compiler-warnings-on-implicit-declarat.patch

29 lines
776 B
Diff
Raw Normal View History

From 02d132264692be5fb72ed9ee119d42ba17ed8164 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 3 Jun 2013 01:38:57 +0200
Subject: [PATCH 1/4] utils: resolve compiler warnings on implicit declarations
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 --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c
index ee349ae..7809730 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>
--
2.0.0