[Mesa-dev] [PATCH 2/3] aubinator: include libgen.h for basename(3)
Jonathan Gray
jsg at jsg.id.au
Thu Sep 1 17:12:25 UTC 2016
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>
---
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
More information about the mesa-dev
mailing list