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 66107711a5717b02a4032be483985b1af8106685..df844692b0578750ab79fa11202cc62ad6eef204 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>