summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mg_database.c1
-rwxr-xr-xmugglei.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mg_database.c b/mg_database.c
index 1636262..02d2e0a 100644
--- a/mg_database.c
+++ b/mg_database.c
@@ -10,6 +10,7 @@
#include "mg_database.h"
#include "mg_tools.h"
+#include <stdio.h>
#include <stdarg.h>
static const int MAX_QUERY_BUFLEN = 2048;
diff --git a/mugglei.c b/mugglei.c
index f090c01..46ef6a1 100755
--- a/mugglei.c
+++ b/mugglei.c
@@ -14,6 +14,7 @@
#include <sys/time.h>
#include <mysql/mysql.h>
#include <getopt.h>
+#include <unistd.h>
#include <tag.h>
#include <fileref.h>