aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-07-20 14:12:57 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-20 14:12:57 -0400
commitbfc9dc9bcfab65903defcd8a3f4d91f16e7e582d (patch)
treeff2734fa4a7859f3f11f36c58f5c303cfec1ef04
parent702e64bbd504703d03e4009d6a3102d20965d754 (diff)
downloadglibc-bfc9dc9bcfab65903defcd8a3f4d91f16e7e582d.zip
glibc-bfc9dc9bcfab65903defcd8a3f4d91f16e7e582d.tar.gz
glibc-bfc9dc9bcfab65903defcd8a3f4d91f16e7e582d.tar.bz2
Fix missing include
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/pathconf.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b898890..2f52037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
+
2011-07-20 Ulrich Drepper <drepper@gmail.com>
* po/cs.po: Update from translation team.
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c
index 1859314..ca87bf1 100644
--- a/sysdeps/unix/sysv/linux/pathconf.c
+++ b/sysdeps/unix/sysv/linux/pathconf.c
@@ -1,5 +1,6 @@
/* Get file-specific information about a file. Linux version.
- Copyright (C) 1991,1995,1996,1998-2003,2008,2010,2011 Free Software Foundation, Inc.
+ Copyright (C) 1991,1995,1996,1998-2003,2008,2010,2011
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,6 +21,7 @@
#include <errno.h>
#include <mntent.h>
#include <stdio_ext.h>
+#include <string.h>
#include <unistd.h>
#include <sys/sysmacros.h>