diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-12-23 19:07:11 -0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-06 09:29:45 +0100 |
commit | f04b9dfba00b724879b0310a5d1442196afcc24e (patch) | |
tree | e3bf46764244664ac3880486e658d0705e8dd5ff /lib/igt_core.c | |
parent | 99e6defbe79d3a41f967b55d33ce1a856914e797 (diff) |
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>
Diffstat (limited to 'lib/igt_core.c')
-rw-r--r-- | lib/igt_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c index 01fb4574..0f8a5bba 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -65,6 +65,10 @@ #include "igt_core.h" #include "igt_aux.h" +#ifdef HAVE_LIBGEN_H +#include <libgen.h> /* for basename() on Solaris */ +#endif + /** * SECTION:igt_core * @short_description: Core i-g-t testing support |