summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/aubinator.c
diff options
context:
space:
mode:
authorJonathan Gray <[email protected]>2016-09-02 03:12:25 +1000
committerEmil Velikov <[email protected]>2016-09-08 18:37:02 +0100
commit2d3ebb474c3056610f19c44e5c62d42c2de6b31b (patch)
tree50b4d3763dd7111e158f6bfd986de9d288557af6 /src/intel/tools/aubinator.c
parent0ba9e281fc0a97fe170a160e72a029ce92f397bc (diff)
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 <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/intel/tools/aubinator.c')
-rw-r--r--src/intel/tools/aubinator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 66107711a57..df844692b05 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>