summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-04 12:12:58 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-04 12:12:58 +0200
commit6145a2569fced13f18c4da200b9ba2070e643079 (patch)
treecf02ce60a2993a0fcf13624f6eb3fd17ad3741f4 /include/osmocom/gsm
parentd71a006cf6c51eb0bc1300ccdd3793572e132edd (diff)
misc: Include time.h for time_t on FreeBSD
Fix the build after I changed the order of header files in the SMS test.
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/gsm0411_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsm0411_utils.h b/include/osmocom/gsm/gsm0411_utils.h
index d29ca631..ad368e67 100644
--- a/include/osmocom/gsm/gsm0411_utils.h
+++ b/include/osmocom/gsm/gsm0411_utils.h
@@ -1,6 +1,8 @@
#ifndef _GSM0411_UTILS_H
#define _GSM0411_UTILS_H
+#include <time.h>
+
/* Turn int into semi-octet representation: 98 => 0x89 */
uint8_t gsm411_bcdify(uint8_t value);