replace old and ugly crypt implementation
[musl] / include / unistd.h
index 693c54d..9c737f7 100644 (file)
@@ -168,7 +168,7 @@ char *getusershell(void);
 #endif
 
 #ifdef _GNU_SOURCE
-pid_t forkall(void);
+extern char **environ;
 int setresuid(uid_t, uid_t, uid_t);
 int setresgid(gid_t, gid_t, gid_t);
 int getresuid(uid_t *, uid_t *, uid_t *);
@@ -176,7 +176,7 @@ int getresgid(gid_t *, gid_t *, gid_t *);
 char *get_current_dir_name(void);
 #endif
 
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
 #define lseek64 lseek
 #define pread64 pread
 #define pwrite64 pwrite