aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-08 10:39:28 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-08 10:39:28 -0700
commita2433aac7e3524f5c65c557e8ddba760b196f856 (patch)
treeaed1e0be08f6ad6d42207989655b06467b9d7955
parentcdd915fd16872227c41fdff75b7a2602a987da5f (diff)
downloadglibc-a2433aac7e3524f5c65c557e8ddba760b196f856.tar
glibc-a2433aac7e3524f5c65c557e8ddba760b196f856.tar.gz
glibc-a2433aac7e3524f5c65c557e8ddba760b196f856.tar.bz2
glibc-a2433aac7e3524f5c65c557e8ddba760b196f856.zip
Add a missing #include.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/posix/fdopendir.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f47f48d5ad..7dbea5ee09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-08-08 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/posix/fdopendir.c: Include <stddef.h>.
+
* sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
sysdeps/unix -> sysdeps/posix move.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
diff --git a/sysdeps/posix/fdopendir.c b/sysdeps/posix/fdopendir.c
index beddcbe029..0ffd3f963e 100644
--- a/sysdeps/posix/fdopendir.c
+++ b/sysdeps/posix/fdopendir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2006, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2012 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
@@ -18,6 +18,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <stddef.h>
#include <sys/stat.h>
#include <not-cancel.h>