summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-04-11 10:53:39 +0200
committerYorhel <git@yorhel.nl>2009-04-11 10:53:39 +0200
commitb10a0f536f7f32bc8c1083609cfe4dd2514a3c8f (patch)
treef80a9d196b4f215535b7fd987f4a30e9444f0708
parent6c0a56a26f9c327774bd196cd5f3155964cbb5da (diff)
Removed ncdu.h dependency from exclude.c
-rw-r--r--src/exclude.c6
-rw-r--r--src/ncdu.h1
2 files changed, 5 insertions, 2 deletions
diff --git a/src/exclude.c b/src/exclude.c
index 2fa7972..e782212 100644
--- a/src/exclude.c
+++ b/src/exclude.c
@@ -23,9 +23,13 @@
*/
-#include "ncdu.h"
#include "exclude.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fnmatch.h>
+
struct exclude {
char *pattern;
diff --git a/src/ncdu.h b/src/ncdu.h
index 392eaf4..a17b6ef 100644
--- a/src/ncdu.h
+++ b/src/ncdu.h
@@ -33,7 +33,6 @@
#include <ctype.h>
#include <limits.h>
#include <errno.h>
-#include <fnmatch.h>
#include <ncurses.h>
#include <form.h>