Mercurial > hg > octave-kai > gnulib-hg
view lib/dirfd.h @ 5057:f4b3a4229349
Import obstack changes from libc.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 07 May 2004 04:22:56 +0000 |
parents | 5c15e95cddf5 |
children | 45c149f6b6b9 |
line wrap: on
line source
#if HAVE_CONFIG_H # include <config.h> #endif #include <sys/types.h> #if HAVE_DIRENT_H # include <dirent.h> #else /* not HAVE_DIRENT_H */ # define dirent direct # if HAVE_SYS_NDIR_H # include <sys/ndir.h> # endif /* HAVE_SYS_NDIR_H */ # if HAVE_SYS_DIR_H # include <sys/dir.h> # endif /* HAVE_SYS_DIR_H */ # if HAVE_NDIR_H # include <ndir.h> # endif /* HAVE_NDIR_H */ #endif /* HAVE_DIRENT_H */ #ifndef HAVE_DECL_DIRFD "this configure-time declaration test was not run" #endif #if !HAVE_DECL_DIRFD && !defined dirfd int dirfd (DIR const *); #endif