aboutsummaryrefslogtreecommitdiff
path: root/src/libnpass
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnpass')
-rw-r--r--src/libnpass/gpg.c4
-rw-r--r--src/libnpass/libnpass.c6
-rw-r--r--src/libnpass/util.c1
3 files changed, 7 insertions, 4 deletions
diff --git a/src/libnpass/gpg.c b/src/libnpass/gpg.c
index 574a492..0b90b33 100644
--- a/src/libnpass/gpg.c
+++ b/src/libnpass/gpg.c
@@ -4,8 +4,8 @@
#include <gpgme.h>
-#include "gpg.h"
-#include "util.h"
+#include "libnpass/gpg.h"
+#include "libnpass/util.h"
#define fail_if_err(err) \
if (err) { \
diff --git a/src/libnpass/libnpass.c b/src/libnpass/libnpass.c
index 72e51df..14f4737 100644
--- a/src/libnpass/libnpass.c
+++ b/src/libnpass/libnpass.c
@@ -8,9 +8,11 @@
#include <termios.h>
#include <stdio.h>
-#include "libnpass.h"
+#include "libnpass/libnpass.h"
+#include "libnpass/gpg.h"
+#include "libnpass/util.h"
+
#include "util.h"
-#include "gpg.h"
#define DEF_PASS_DIR "pass"
#define FPR_MAX 256
diff --git a/src/libnpass/util.c b/src/libnpass/util.c
index 8e3a108..9164354 100644
--- a/src/libnpass/util.c
+++ b/src/libnpass/util.c
@@ -6,6 +6,7 @@
#include <unistd.h>
#include <libgen.h>
+#include "libnpass/util.h"
#include "util.h"
int r_mkdir(const char *path, mode_t mode)