]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fix sloppy #include use, breaks with latest glibc.
authorRoland McGrath <roland@redhat.com>
Fri, 15 Jan 2010 09:02:27 +0000 (01:02 -0800)
committerRoland McGrath <roland@redhat.com>
Fri, 15 Jan 2010 09:02:27 +0000 (01:02 -0800)
src/ChangeLog
src/ar.c
src/elflint.c
src/readelf.c
src/strip.c
src/unstrip.c

index c4b5b053764c6ebfe74f837116e06366c02b61a9..ee1b733f66921b1ac2b78c306c163aa92b656a94 100644 (file)
@@ -1,3 +1,11 @@
+2010-01-15  Roland McGrath  <roland@redhat.com>
+
+       * ar.c: Include <sys/stat.h>.
+       * elflint.c: Likewise.
+       * readelf.c: Likewise.
+       * strip.c: Likewise.
+       * unstrip.c: Likewise
+
 2010-01-07  Roland McGrath  <roland@redhat.com>
 
        * readelf.c (print_ehdr): Handle PN_XNUM.
index 5d7a6e764aacbd7944db7c9b64c6db202f9b75ac..149d116dfca84d4d1300ddcd31d3669142e874fe 100644 (file)
--- a/src/ar.c
+++ b/src/ar.c
@@ -1,5 +1,5 @@
 /* Create, modify, and extract from archives.
-   Copyright (C) 2005, 2007, 2009 Red Hat, Inc.
+   Copyright (C) 2005-2010 Red Hat, Inc.
    Written by Ulrich Drepper <drepper@redhat.com>, 2005.
 
    Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -45,6 +45,7 @@
 #include <time.h>
 #include <unistd.h>
 #include <sys/mman.h>
+#include <sys/stat.h>
 #include <sys/time.h>
 
 #include <system.h>
index 63d8389ecfb109c755ec3d39898caa37c305ed57..531122bf6c802760b91be5392736a339cc6f2d03 100644 (file)
@@ -42,6 +42,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/stat.h>
 #include <sys/param.h>
 
 #include <elf-knowledge.h>
index 446486696f30d58a00a656fcf78910dc8c11ad21..6ba259cf16a2f913ab41daf005134704ca9f9059 100644 (file)
@@ -49,6 +49,7 @@
 #include <time.h>
 #include <unistd.h>
 #include <sys/param.h>
+#include <sys/stat.h>
 
 #include <system.h>
 #include "../libelf/libelfP.h"
index 32cf0d704e57bd2680197adfbe2c1ff0a946975f..7b2b889a86a9ec4353bc00a3bb1a2b0fdd0d89cb 100644 (file)
@@ -1,5 +1,5 @@
 /* Discard section not used at runtime from object files.
-   Copyright (C) 2000-2008, 2009 Red Hat, Inc.
+   Copyright (C) 2000-2010 Red Hat, Inc.
    This file is part of Red Hat elfutils.
    Written by Ulrich Drepper <drepper@redhat.com>, 2000.
 
@@ -46,6 +46,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/param.h>
+#include <sys/stat.h>
 #include <sys/time.h>
 
 #include <elf-knowledge.h>
index 284607b38259eb2beb84dd776eb33fd9be00336a..0984e6bc2744c17b51d146fdc422058b03532dc6 100644 (file)
@@ -1,5 +1,5 @@
 /* Combine stripped files with separate symbols and debug information.
-   Copyright (C) 2007, 2009 Red Hat, Inc.
+   Copyright (C) 2007-2010 Red Hat, Inc.
    This file is part of Red Hat elfutils.
    Written by Roland McGrath <roland@redhat.com>, 2007.
 
@@ -52,6 +52,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/stat.h>
 
 #include <gelf.h>
 #include <libebl.h>