Mesa (master): aubinator: include libgen.h for basename(3)
Emil Velikov
evelikov at kemper.freedesktop.org
Thu Sep 8 17:37:57 UTC 2016
Module: Mesa
Branch: master
Commit: 2d3ebb474c3056610f19c44e5c62d42c2de6b31b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d3ebb474c3056610f19c44e5c62d42c2de6b31b
Author: Jonathan Gray <jsg at jsg.id.au>
Date: Fri Sep 2 03:12:25 2016 +1000
aubinator: include libgen.h for basename(3)
Include libgen.h for basename as required by posix.
The definition is not found on at least OpenBSD otherwise.
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
---
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>
More information about the mesa-commit
mailing list