protect against multiple inclusion
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user