Merge pull request #792 from atsampson/xopen-strdup

libretro-common: fix implicit declarations
This commit is contained in:
zeromus 2024-05-13 07:59:48 -05:00 committed by GitHub
commit 90d0abdae0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#define _XOPEN_SOURCE 500 /* For strdup, realpath */
#include <stdlib.h> #include <stdlib.h>
#include <boolean.h> #include <boolean.h>
#include <string.h> #include <string.h>