aubinator: include libgen.h for basename(3)
authorJonathan Gray <jsg@jsg.id.au>
Thu, 1 Sep 2016 17:12:25 +0000 (03:12 +1000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 8 Sep 2016 17:37:02 +0000 (18:37 +0100)
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@jsg.id.au>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/tools/aubinator.c

index 6610771..df84469 100644 (file)
@@ -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>