aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-06 12:19:09 +0200
committerMattias Andrée <maandree@kth.se>2021-04-06 12:19:09 +0200
commit8cbe78910a238c7432c6b428b742f123efb69623 (patch)
treefa4c0a71e7c3180223b6a381bafce8473edeedf3 /common.h
parentupdate todo: no cache is needed (diff)
downloadlibcontacts-8cbe78910a238c7432c6b428b742f123efb69623.tar.gz
libcontacts-8cbe78910a238c7432c6b428b742f123efb69623.tar.bz2
libcontacts-8cbe78910a238c7432c6b428b742f123efb69623.tar.xz
libcontacts_save_contact: create directory if missing
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index 5bb22a1..3e2e4b4 100644
--- a/common.h
+++ b/common.h
@@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include "libcontacts.h"
+#include <sys/stat.h>
#include <alloca.h>
#include <ctype.h>
#include <dirent.h>