aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-29 09:32:46 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-29 09:46:17 +0200
commite500e2e5d1d44f31e0fffeda9a1e272e8fb0320c (patch)
treeea951c2739c4d0fe4ba66d4e4b9a288be0343a52
parentb671dbfe94789d849880b8c6f2a036f7db04b037 (diff)
llc: Add missing include directive for struct timeval
While including time.h is sufficient with Ubuntu's current libc6 2.19, the correct (and portable) include file is sys/time.h. This commit modifies the include directive in llc.h accordingly. Fixes: Jenkins #600 Addresses: In file included from gprs_ms.h:28, from gprs_ms.cpp:22: llc.h:68: error: field 'recv_time' has incomplete type llc.h:69: error: field 'expire_time' has incomplete type Sponsored-by: On-Waves ehf
-rw-r--r--src/llc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llc.h b/src/llc.h
index 887e210c..fe8958fd 100644
--- a/src/llc.h
+++ b/src/llc.h
@@ -24,7 +24,7 @@ extern "C" {
#include <stdint.h>
#include <string.h>
-#include <time.h>
+#include <sys/time.h>
#define LLC_MAX_LEN 1543