[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug: rename.c - bucomm.h included before sys/stat.h
From: |
Rene Sugar |
Subject: |
Bug: rename.c - bucomm.h included before sys/stat.h |
Date: |
Tue, 07 Feb 2012 14:15:08 -0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
In binutils-2.22/binutils/rename.c, bucomm.h is included before sys/stat.h.
bucomm.h uses a structure from sys/stat.h resulting in a compile error
under gcc 4.7.
--- binutils/binutils/rename.c 2009-09-02 00:22:32 -0700
+++ binutils/binutils/rename.c 2012-02-05 15:53:32 -0800
@@ -20,10 +20,11 @@
#include "sysdep.h"
#include "bfd.h"
-#include "bucomm.h"
#include <sys/stat.h>
+#include "bucomm.h"
+
#ifdef HAVE_GOOD_UTIME_H
#include <utime.h>
#else /* ! HAVE_GOOD_UTIME_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug: rename.c - bucomm.h included before sys/stat.h,
Rene Sugar <=