* mkdir-p.c: Include "dirchownmod.h", not "dirchownmod.c".
Include <unistd.h>.
author |
Jim Meyering <jim@meyering.net> |
date |
Thu, 28 Sep 2006 12:18:58 +0000 |
parents |
3ee6e46a13c3 |
children |
65ffe41adbb5 |
files |
lib/ChangeLog lib/mkdir-p.c |
diffstat |
2 files changed, 7 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-28 Jim Meyering <jim@meyering.net>
+
+ * mkdir-p.c: Include "dirchownmod.h", not "dirchownmod.c".
+ Include <unistd.h>.
+
2006-09-27 Jim Meyering <jim@meyering.net>
This function could end up with a definition for a function
--- a/lib/mkdir-p.c
+++ b/lib/mkdir-p.c
@@ -25,11 +25,12 @@
#include <errno.h>
#include <sys/stat.h>
+#include <unistd.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)
-#include "dirchownmod.c"
+#include "dirchownmod.h"
#include "dirname.h"
#include "error.h"
#include "quote.h"