home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / alpha / PARTITIONS / USR_GZ / usr / include / sys / dir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-14  |  308 b   |  18 lines

  1. #ifdef _SYS_DIRENT_H
  2. #error "Can't include both sys/dir.h and sys/dirent.h"
  3. #define _SYS_DIR_H
  4. #endif
  5.  
  6. #ifndef _SYS_DIR_H
  7. #define _SYS_DIR_H
  8.  
  9. #include <dirent.h>
  10.  
  11. #define direct    dirent
  12.  
  13. #undef DIRSIZ
  14. #define DIRSIZ(dp)    ((sizeof (struct direct) - (MAXNAMLEN+1)) + \
  15.              (((dp)->d_namlen+1 + 3) &~ 3))
  16.  
  17. #endif
  18.