diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c index 38fd64c6b23d..3158edefd94d 100644 --- a/lib/csu/i386/crt0.c +++ b/lib/csu/i386/crt0.c @@ -55,7 +55,14 @@ int _callmain(); #define MAP_COPY MAP_PRIVATE #define MAP_FILE 0 #define MAP_ANON 0 -#endif +#else +#ifdef BSD +#if BSD>=199306 +#define MAP_FILE 0 +#endif /* BSD>=199306 */ +#endif /* BSD */ +#endif /* sun */ + #include extern struct _dynamic _DYNAMIC;