protect against multiple inclusion

This commit is contained in:
ceriel
1991-10-25 14:44:21 +00:00
parent 06ca50cf94
commit ce5c32157e
9 changed files with 46 additions and 0 deletions

View File

@@ -3,6 +3,9 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#ifndef _DIR_H
#define _DIR_H
#ifdef __BSD4_2
#define MAXNAMLEN 255
#else
@@ -38,3 +41,5 @@ extern long telldir();
extern seekdir();
#define rewinddir(dirp) seekdir((dirp), 0L)
extern closedir();
#endif /* _DIR_H */

View File

@@ -3,6 +3,10 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#ifndef _STAT_H
#define _STAT_H
struct stat {
dev_t st_dev;
ino_t st_ino;
@@ -51,3 +55,5 @@ struct stat {
#define S_IREAD 0000400
#define S_IWRITE 0000200
#define S_IEXEC 0000100
#endif /* _STAT_H */