summaryrefslogtreecommitdiffstats
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 13:21:38 +1000
commitff7f2ebbe90131ec314bfbdbedbb93526fee12e0 (patch)
tree1a23e7b000f104fb216f8903cb5811ae1c756295
parent943eafefca3ea91e42f245ff4d9b4ca8f8c7146e (diff)
downloadmdadm-ff7f2ebbe90131ec314bfbdbedbb93526fee12e0.tar.gz
mdadm-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>
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 73031b7..68c1507 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>