Skip to content
  • Dan Winship's avatar
    Require POSIX.1 (1990) compliance on unix · 3981cddb
    Dan Winship authored
    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
    3981cddb