From b10a0f536f7f32bc8c1083609cfe4dd2514a3c8f Mon Sep 17 00:00:00 2001 From: Yorhel <git@yorhel.nl> Date: Sat, 11 Apr 2009 10:53:39 +0200 Subject: [PATCH] Removed ncdu.h dependency from exclude.c --- src/exclude.c | 6 +++++- src/ncdu.h | 1 - 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> -- GitLab