Require POSIX.1 (1990) compliance on unix
authorDan Winship <danw@gnome.org>
Sat, 19 Oct 2013 17:03:59 +0000 (13:03 -0400)
committerDan Winship <danw@gnome.org>
Wed, 20 Nov 2013 14:17:42 +0000 (09:17 -0500)
commit3981cddbf8659458be9f863151314cd0fd1682bf
tree09794fed952f593e0a104ba3e3aa9880e145703a
parent6e4a7fca431f53fdfd89afbe956212229cf52200
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
13 files changed:
config.h.win32.in
configure.ac
gio/gfile.c
gio/glocalfile.c
gio/glocalfileinfo.c
gio/glocalfileinfo.h
gio/glocalfileoutputstream.c
gio/glocalvfs.c
gio/gsocket.c
glib/gbacktrace.c
glib/gfileutils.c
glib/gthread-posix.c
glib/gutils.c