mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
Need to #include <libgen.h> for basename() on Solaris
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
99e6defbe7
commit
f04b9dfba0
@ -53,7 +53,7 @@ enable_gtk_doc=no
|
|||||||
|
|
||||||
# Checks for functions, headers, structures, etc.
|
# Checks for functions, headers, structures, etc.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS([termios.h linux/kd.h sys/kd.h])
|
AC_CHECK_HEADERS([termios.h linux/kd.h sys/kd.h libgen.h])
|
||||||
AC_CHECK_MEMBERS([struct sysinfo.totalram],[],[],[AC_INCLUDES_DEFAULT
|
AC_CHECK_MEMBERS([struct sysinfo.totalram],[],[],[AC_INCLUDES_DEFAULT
|
||||||
#include <sys/sysinfo.h>
|
#include <sys/sysinfo.h>
|
||||||
])
|
])
|
||||||
|
@ -65,6 +65,10 @@
|
|||||||
#include "igt_core.h"
|
#include "igt_core.h"
|
||||||
#include "igt_aux.h"
|
#include "igt_aux.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBGEN_H
|
||||||
|
#include <libgen.h> /* for basename() on Solaris */
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:igt_core
|
* SECTION:igt_core
|
||||||
* @short_description: Core i-g-t testing support
|
* @short_description: Core i-g-t testing support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user