https://bugs.freedesktop.org/show_bug.cgi?id=84541

          Priority: medium
            Bug ID: 84541
          Assignee: xorg-driver-geode@lists.x.org
           Summary: driver can fail to compile when config.h is used
        QA Contact: xorg-driver-geode@lists.x.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: brian.ll...@familyhonor.net
          Hardware: Other
            Status: NEW
           Version: 7.7 (2011)
         Component: Driver/geode
           Product: xorg

Created attachment 107165
  --> https://bugs.freedesktop.org/attachment.cgi?id=107165&action=edit
adds standard config.h include to top of file

The src/lx_memory.c file uses the xf86.h header file.  This file must have
HAVE_STRNDUP defined before calling it when the building platform has a strndup
function.  When using config.h, this file doesn't have that define and so fails
to compile.

The attached patch adds the conditional config.h to this file so it may compile
on the affected platforms.

The patch is trivial and may be included and used under whatever licensing
desired.

Signed-off-by: Brian A. Lloyd <brian.ll...@familyhonor.net>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Xorg-driver-geode mailing list
Xorg-driver-geode@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-geode

Reply via email to