diff options
Diffstat (limited to 'sysdeps/unix/dirstream.h')
-rw-r--r-- | sysdeps/unix/dirstream.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/dirstream.h b/sysdeps/unix/dirstream.h index 20c4922fb9..d8c23959ad 100644 --- a/sysdeps/unix/dirstream.h +++ b/sysdeps/unix/dirstream.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995 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 @@ -40,4 +40,6 @@ typedef struct struct dirent __entry; /* Returned by `readdir'. */ } DIR; +#define _DIR_dirfd(dirp) ((dirp)->__fd) + #endif /* dirstream.h */ |