summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-07-12 15:45:01 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-07-12 15:45:01 +0100
commit84c1a8e1e8ebe9097774bdd478d5ca8eecb9aa0f (patch)
treec42ace6daeb16c5b64961fa828a8458709d1809c /wrappers
parentf23e6ed67d1b73bd38874b6bb187b7a8a9c173b7 (diff)
gltrace: Include libgen.h for basename.
Fixes https://github.com/apitrace/apitrace/issues/470
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/dlsym.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrappers/dlsym.cpp b/wrappers/dlsym.cpp
index 5947424d..d7dc0865 100644
--- a/wrappers/dlsym.cpp
+++ b/wrappers/dlsym.cpp
@@ -27,6 +27,7 @@
#include <assert.h>
#include <stdlib.h>
+#include <libgen.h>
#include <memory>