15 lines
305 B
C
15 lines
305 B
C
#ifdef _SYS_DIR_H
|
|
#error "Can't include both sys/dir.h and sys/dirent.h"
|
|
#define _SYS_DIRENT_H
|
|
#endif
|
|
|
|
#ifndef _SYS_DIRENT_H
|
|
#define _SYS_DIRENT_H
|
|
|
|
#include <limits.h>
|
|
#include <sys/types.h> /* for type off_t in dirent.h */
|
|
#include <fcntl.h> /* for constant O_RDONLY */
|
|
#include <linux/dirent.h>
|
|
|
|
#endif
|