summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2007-09-21 19:32:18 +0200
committerNeil Brown <neilb@suse.de>2007-09-24 05:21:38 +0200
commitff7f2ebbe90131ec314bfbdbedbb93526fee12e0 (patch)
tree1a23e7b000f104fb216f8903cb5811ae1c756295 /config.c
parentCreate.c s/major/major_num/ (diff)
downloadmdadm-ff7f2ebbe90131ec314bfbdbedbb93526fee12e0.tar.xz
mdadm-ff7f2ebbe90131ec314bfbdbedbb93526fee12e0.zip
config.c include dirent.h instead sys/dir.h
sys/dir.h is an old BSD'ism, include dirent directly. small step for better klibc support. compile tested against glibc. Signed-off-by: maximilian attems <max@stro.at> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 73031b73..68c1507e 100644
--- a/config.c
+++ b/config.c
@@ -29,7 +29,7 @@
#include "mdadm.h"
#include "dlink.h"
-#include <sys/dir.h>
+#include <dirent.h>
#include <glob.h>
#include <fnmatch.h>
#include <ctype.h>