diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-29 09:32:46 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-29 09:46:17 +0200 |
commit | e500e2e5d1d44f31e0fffeda9a1e272e8fb0320c (patch) | |
tree | ea951c2739c4d0fe4ba66d4e4b9a288be0343a52 | |
parent | b671dbfe94789d849880b8c6f2a036f7db04b037 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ extern "C" { #include <stdint.h> #include <string.h> -#include <time.h> +#include <sys/time.h> #define LLC_MAX_LEN 1543 |