summaryrefslogtreecommitdiffstats
path: root/src/unstrip.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2010-01-15 01:02:27 -0800
committerRoland McGrath <[email protected]>2010-01-15 01:02:27 -0800
commitb337b1fd5f3b3410fe522a690ccee70bce8519ee (patch)
treebbcd7b587b878bd50382308ea621da58582e9cc7 /src/unstrip.c
parent5f2116092632c8d600e2d7d87fc919aed37a1c04 (diff)
Fix sloppy #include use, breaks with latest glibc.
Diffstat (limited to 'src/unstrip.c')
-rw-r--r--src/unstrip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unstrip.c b/src/unstrip.c
index 284607b3..0984e6bc 100644
--- a/src/unstrip.c
+++ b/src/unstrip.c
@@ -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 <[email protected]>, 2007.
@@ -52,6 +52,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
#include <gelf.h>
#include <libebl.h>