libpciaccess: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Thu Feb 12 14:11:43 PST 2015


 src/common_init.c       |    4 +++-
 src/common_vgaarb.c     |    5 ++++-
 src/freebsd_pci.c       |    5 ++++-
 src/linux_sysfs.c       |    6 ++++--
 src/netbsd_pci.c        |    8 ++++----
 src/pciaccess_private.h |    2 +-
 6 files changed, 20 insertions(+), 10 deletions(-)

New commits:
commit 1972e9223764618aedc5adc32b64b2c043d1b826
Author: Eero Tamminen <eero.t.tamminen at intel.com>
Date:   Tue Feb 10 14:55:22 2015 +0000

    Check for __linux__ instead of linux during compilation
    
    "__linux__" is the POSIX define for checking for Linux OS, "linux" is
    deprecated and apparently not supported by Android.
    
    Besides correcting the define, patch adds error for the case OS isn't
    recognized.
    
    Signed-off-by: Eero Tamminen <eero.t.tamminen at intel.com>
    
    v2: Drop double negative from commit msg. Spotted by Mateusz Jończyk.
    [Emil Velikov: Remove irrelevant Android details from commit msg.]
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Jasper St. Pierre <jstpierre at mecheye.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit ed340abc37b07cb9fc788ae77d837088c54cd16a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Feb 10 14:55:21 2015 +0000

    Include config.h before any other headers.
    
    The former has a series of defines which in some cases are crusial to be
    set before including any system headers.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 6329ef9e5d6f36ca3f7258279f6640037b71926a
Author: Chih-Wei Huang <cwhuang at linux.org.tw>
Date:   Tue Feb 10 14:55:20 2015 +0000

    Add missing guards around config.h inclusion
    
    In some cases the header may not exist, leading to compilation issues.
    Add the ifdef HAVE_CONFIG_H, as it is those in other parts of the
    project.
    
    [Emil Velikov: Split out from a larger commit, rework commit message]
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit e42ee2a075a8b7c62b190815be42ea26c9d8c03f
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Feb 10 14:55:19 2015 +0000

    Include the POSIX fcntl.h instead of sys/fcntl.h
    
    The former is part of the POSIX standard, and (unlike the latter) is
    more widely available.
    
    v2: Drop gracious d in header name. Spotted by Alan.
    
    Cc: Adam Jackson <ajax at redhat.com>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list