diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2016-05-30 07:50:57 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2016-05-30 07:50:57 +0000 |
| commit | 611c29bab95b093a5f89746430c4a78a27ac13bc (patch) | |
| tree | a8a13b3b48c5c67bd4986ccfa611bda47675b51d /include | |
| parent | cb2404b4ad9b7664fd2e12948c0f7432493d03af (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/dirent.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/dirent.h b/include/dirent.h index b894bb8453292..1ab949ccb3786 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -38,15 +38,23 @@ * the getdirentries(2) system call. */ #include <sys/cdefs.h> +#include <sys/_types.h> #include <sys/dirent.h> #if __XSI_VISIBLE + +#ifndef _INO_T_DECLARED +typedef __ino_t ino_t; +#define _INO_T_DECLARED +#endif + /* * XXX this is probably illegal in the __XSI_VISIBLE case, but brings us closer * to the specification. */ #define d_ino d_fileno /* backward and XSI compatibility */ -#endif + +#endif /* __XSI_VISIBLE */ #if __BSD_VISIBLE |
