* findme.c: Respect HAVE_UNISTD_H.
* popt.c: Likewise.
Этот коммит содержится в:
родитель
a504067e6c
Коммит
7b8b4394d5
@ -1,5 +1,8 @@
|
||||
2002-01-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* findme.c: Respect HAVE_UNISTD_H.
|
||||
* popt.c: Likewise.
|
||||
|
||||
* global.h: Fallback to sys/utime.h if utime.h is missing.
|
||||
|
||||
* global.h: Provide fallbacks for getuid(), getgid(), geteuid()
|
||||
|
@ -10,7 +10,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#ifdef __NeXT
|
||||
/* access macros are not declared in non posix mode in unistd.h -
|
||||
don't try to use posix on NeXTstep 3.3 ! */
|
||||
|
@ -14,7 +14,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "findme.h"
|
||||
#include "popt.h"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user