Commit 258a25fc authored by Albert Astals Cid's avatar Albert Astals Cid

gbasename: Include stdlib for free

fixes macos build
parent d14a9621
Pipeline #18434 passed with stage
in 7 minutes and 43 seconds
......@@ -35,6 +35,7 @@
// This file is licensed under the GPLv2 or later
//
// Copyright (C) 2018, 2019 Greg Knight <lyngvi@gmail.com>
// Copyright (C) 2019 Albert Astals Cid <aacid@kde.org>
//
//========================================================================
......@@ -42,6 +43,7 @@
#ifndef _MSC_VER
# include <libgen.h>
#endif
#include <stdlib.h>
#include <string.h>
std::string gbasename(const char* filename)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment