git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stepan Kasal <kasal@ucw.cz>
To: GIT Mailing-list <git@vger.kernel.org>
Cc: msysGit <msysgit@googlegroups.com>, Karsten Blees <blees@dcon.de>,
	Erik Faye-Lund <kusmabite@gmail.com>, Stepan Kasal <kasal@ucw.cz>
Subject: [PATCH 4/5] Win32 dirent: clarify #include directives
Date: Fri,  6 Jun 2014 15:43:20 +0200	[thread overview]
Message-ID: <1402062201-9709-5-git-send-email-kasal@ucw.cz> (raw)
In-Reply-To: <1402062201-9709-1-git-send-email-kasal@ucw.cz>

From: Karsten Blees <blees@dcon.de>

Git-compat-util.h is two dirs up, and already includes <dirent.h> (which
is the same as "dirent.h" due to -Icompat/win32 in the Makefile).

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
---
 compat/win32/dirent.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/compat/win32/dirent.c b/compat/win32/dirent.c
index 7a0debe..fac7f25 100644
--- a/compat/win32/dirent.c
+++ b/compat/win32/dirent.c
@@ -1,5 +1,4 @@
-#include "../git-compat-util.h"
-#include "dirent.h"
+#include "../../git-compat-util.h"
 
 struct DIR {
 	struct dirent dd_dir; /* includes d_type */
-- 
2.0.0.9635.g0be03cb

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  parent reply	other threads:[~2014-06-06 13:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 13:43 [PATCH 0/5] Windows dirent patches Stepan Kasal
2014-06-06 13:43 ` [PATCH 1/5] Win32 dirent: remove unused dirent.d_ino member Stepan Kasal
2014-06-06 13:43 ` [PATCH 2/5] Win32 dirent: remove unused dirent.d_reclen member Stepan Kasal
2014-06-06 13:43 ` [PATCH 3/5] Win32 dirent: change FILENAME_MAX to MAX_PATH Stepan Kasal
2014-06-06 13:43 ` Stepan Kasal [this message]
2014-06-06 13:43 ` [PATCH 5/5] Win32 dirent: improve dirent implementation Stepan Kasal
2014-06-06 16:33 ` [PATCH 0/5] Windows dirent patches Karsten Blees
2014-06-06 20:15   ` Stepan Kasal
2014-06-06 20:15     ` [PATCH 1/5] Win32 dirent: remove unused dirent.d_ino member Stepan Kasal
2014-06-06 20:15     ` [PATCH 2/5] Win32 dirent: remove unused dirent.d_reclen member Stepan Kasal
2014-06-06 20:15     ` [PATCH 3/5] Win32 dirent: change FILENAME_MAX to MAX_PATH Stepan Kasal
2014-06-06 20:15     ` [PATCH 4/5] Win32 dirent: clarify #include directives Stepan Kasal
2014-06-06 20:15     ` [PATCH 5/5] Win32 dirent: improve dirent implementation Stepan Kasal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1402062201-9709-5-git-send-email-kasal@ucw.cz \
    --to=kasal@ucw.cz \
    --cc=blees@dcon.de \
    --cc=git@vger.kernel.org \
    --cc=kusmabite@gmail.com \
    --cc=msysgit@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).