summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-07-23 08:29:14 -0600
committerJens Axboe <axboe@kernel.dk>2018-07-23 08:29:14 -0600
commitcfe1ed39102ad9711728a86eeec69c4206745036 (patch)
tree57afd7e5f3651bccc983c48b2cb8442d722c8a5e
parentedfca254378e729035073af6ac0d9156565afebe (diff)
downloadfio-cfe1ed39102ad9711728a86eeec69c4206745036.tar.gz
fio-cfe1ed39102ad9711728a86eeec69c4206745036.tar.bz2
gfio: cleanup includes
Use stdlib.h, not malloc.h. And ensure that we pull in the right header for basename(3). Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--gfio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfio.c b/gfio.c
index d222a1c2..f59238cd 100644
--- a/gfio.c
+++ b/gfio.c
@@ -22,8 +22,9 @@
*
*/
#include <locale.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
+#include <libgen.h>
#include <glib.h>
#include <cairo.h>