mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Require POSIX.1 (1990) compliance on unix
Assume unix platforms support the original POSIX.1 standard. Specifically, assume that if G_OS_UNIX, then we have chown(), getcwd(), getgrgid(), getpwuid(), link(), <grp.h>, <pwd.h>, <sys/types.h>, <sys/uio.h>, <sys/wait.h>, and <unistd.h>. Additionally, since all versions of Windows that we care about also have <sys/types.h>, we can remove HAVE_SYS_TYPES_H checks everywhere. Also remove one include of <sys/times.h>, and the corresponding configure check, since the include is not currently needed (and may always have just been a typo for <sys/time.h>). https://bugzilla.gnome.org/show_bug.cgi?id=710519
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
# include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_UIO_H
|
||||
#ifdef G_OS_UNIX
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user