Buildfix - for strdup

This commit is contained in:
libretroadmin 2024-06-29 03:21:53 +02:00
parent 9481e11d50
commit 10499abcc8

View File

@ -104,6 +104,7 @@
#include <string.h> /* for memcpy, memset */ #include <string.h> /* for memcpy, memset */
#include <stddef.h> /* for ptrdiff_t, size_t */ #include <stddef.h> /* for ptrdiff_t, size_t */
#include <stdint.h> /* for uint32_t */ #include <stdint.h> /* for uint32_t */
#include <string.h> /* for strdup */
#define RHMAP_LEN(b) ((b) ? RHMAP__HDR(b)->len : 0) #define RHMAP_LEN(b) ((b) ? RHMAP__HDR(b)->len : 0)
#define RHMAP_MAX(b) ((b) ? RHMAP__HDR(b)->maxlen : 0) #define RHMAP_MAX(b) ((b) ? RHMAP__HDR(b)->maxlen : 0)