diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1997-07-29 22:49:41 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1997-07-29 22:49:41 +0000 |
commit | f011d96d848e58dc76e43d8fd6d71386232943ea (patch) | |
tree | 1202e57ce9c3840ad53e2adef783fdf47093e8b2 /scripts | |
parent | c3e195844962550d4c730ac361a571e287e30c26 (diff) |
added #define for MAP_AUTOGROW for systems which lack that definition
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mkdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mkdep.c b/scripts/mkdep.c index 2ac2e514c..b2c96f634 100644 --- a/scripts/mkdep.c +++ b/scripts/mkdep.c @@ -9,6 +9,10 @@ #include <sys/fcntl.h> #include <sys/mman.h> +#ifndef MAP_AUTOGROW +#define MAP_AUTOGROW 0 +#endif + char *filename, *command, __depname[256] = "\n\t@touch "; int needsconfig, hasconfig, hasmodules, hasdep; |