1
1

* findme.c: Respect HAVE_UNISTD_H.

* popt.c: Likewise.
Этот коммит содержится в:
Pavel Roskin 2002-01-21 21:04:44 +00:00
родитель a504067e6c
Коммит 7b8b4394d5
3 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -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"