summaryrefslogtreecommitdiffstats
path: root/src/ar.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/ar.c
parent5f2116092632c8d600e2d7d87fc919aed37a1c04 (diff)
Fix sloppy #include use, breaks with latest glibc.
Diffstat (limited to 'src/ar.c')
-rw-r--r--src/ar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ar.c b/src/ar.c
index 5d7a6e76..149d116d 100644
--- 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 <[email protected]>, 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>