Commit 459fcb44 authored by Rob Clark's avatar Rob Clark 💬

fix build error in tinderbox

make[2]: Entering directory '/old/home/robclark/xorg/driver/xf86-video-armsoc/src'
  CC       armsoc_dumb.lo
In file included from /home/robclark/xorg-build/include/xorg/misc.h:115:0,
                 from /home/robclark/xorg-build/include/xorg/xf86str.h:37,
                 from /home/robclark/xorg-build/include/xorg/xf86.h:44,
                 from armsoc_dumb.c:30:
/home/robclark/xorg-build/include/xorg/os.h:541:2: error: expected identifier or '(' before '__extension__'
 strndup(const char *str, size_t n);
  ^
Makefile:496: recipe for target 'armsoc_dumb.lo' failed
Signed-off-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
parent b946f71f
......@@ -27,6 +27,10 @@
* Rob Clark <rob@ti.com>
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
......@@ -37,10 +41,6 @@
#include <pixman.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "armsoc_driver.h"
#include "micmap.h"
......
......@@ -21,6 +21,11 @@
* SOFTWARE.
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <sys/mman.h>
#include <assert.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment