summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2009-09-05 03:16:02 +0200
committerDenis Kenzior <denkenz@gmail.com>2009-09-08 14:44:39 -0500
commit06ea6137a30944855ebafe0c8abfb2285eac74b5 (patch)
treec8ab646ef508044e0be0e936970669589b3030ab /src/common.c
parent110dfb9e2ecc952bdbbce31f2d30010c952d65bd (diff)
downloadofono-06ea6137a30944855ebafe0c8abfb2285eac74b5.tar.bz2
Write state of SMS assembly to disk and restore on startup.
This way we can continue receiving segmented messages over a reset or crash.
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index ff94fc0e..63884a3a 100644
--- a/src/common.c
+++ b/src/common.c
@@ -26,6 +26,7 @@
#define _GNU_SOURCE
#include <string.h>
#include <ctype.h>
+#include <errno.h>
#include <glib.h>