Include libgen.h for basename as required by posix. The definition is not found on at least OpenBSD otherwise.
Signed-off-by: Jonathan Gray <j...@jsg.id.au> --- src/intel/tools/aubinator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index 66107711..df84469 100644 --- a/src/intel/tools/aubinator.c +++ b/src/intel/tools/aubinator.c @@ -30,6 +30,7 @@ #include <string.h> #include <signal.h> #include <errno.h> +#include <libgen.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> -- 2.9.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev