patches/binutils/2.22/500-fix-struct-stat.patch
author Bryan Hundven <bryanhundven@gmail.com>
Fri Feb 21 23:28:12 2014 -0800 (2014-02-21)
changeset 3304 cdfeee4fbcfe
permissions -rw-r--r--
scripts: Update config.guess and config.sub

Update config.guess and config.sub from:
http://git.savannah.gnu.org/gitweb/?p=config.git

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: further update]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <befa8e8e81336bc1c415.1393054644@Bryans-MacBook-Pro.local>
Patchwork-Id: 323128
     1 diff -ur binutils-2.22.org/bfd/bfd-in2.h binutils-2.22/bfd/bfd-in2.h
     2 --- binutils-2.22.org/bfd/bfd-in2.h	2011-09-16 03:15:18.000000000 +0200
     3 +++ binutils-2.22/bfd/bfd-in2.h	2012-11-03 18:25:20.365668349 +0100
     4 @@ -32,6 +32,8 @@
     5  #ifndef __BFD_H_SEEN__
     6  #define __BFD_H_SEEN__
     7  
     8 +#include <sys/stat.h>
     9 +
    10  #ifdef __cplusplus
    11  extern "C" {
    12  #endif
    13 @@ -308,8 +310,6 @@
    14     && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE		\
    15     && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
    16  
    17 -/* Forward define.  */
    18 -struct stat;
    19  
    20  typedef enum bfd_print_symbol
    21  {
    22 diff -ur binutils-2.22.org/bfd/bfd-in.h binutils-2.22/bfd/bfd-in.h
    23 --- binutils-2.22.org/bfd/bfd-in.h	2011-09-16 03:15:18.000000000 +0200
    24 +++ binutils-2.22/bfd/bfd-in.h	2012-11-03 18:24:43.397783645 +0100
    25 @@ -25,6 +25,8 @@
    26  #ifndef __BFD_H_SEEN__
    27  #define __BFD_H_SEEN__
    28  
    29 +#include <sys/stat.h>
    30 +
    31  #ifdef __cplusplus
    32  extern "C" {
    33  #endif
    34 @@ -301,8 +303,6 @@
    35     && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE		\
    36     && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
    37  
    38 -/* Forward define.  */
    39 -struct stat;
    40  
    41  typedef enum bfd_print_symbol
    42  {