summaryrefslogtreecommitdiffstats
path: root/src/polypcore/authkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polypcore/authkey.c')
-rw-r--r--src/polypcore/authkey.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/polypcore/authkey.c b/src/polypcore/authkey.c
index 969f09d9..e3fc9f60 100644
--- a/src/polypcore/authkey.c
+++ b/src/polypcore/authkey.c
@@ -35,10 +35,11 @@
#include <limits.h>
#include <sys/stat.h>
+#include <polypcore/util.h>
+#include <polypcore/log.h>
+#include <polypcore/random.h>
+
#include "authkey.h"
-#include "util.h"
-#include "log.h"
-#include "random.h"
/* Generate a new authorization key, store it in file fd and return it in *data */
static int generate(int fd, void *ret_data, size_t length) {