3ds: Buildfix
authornegativeExponent <negativeExponent@users.noreply.github.com>
Wed, 21 Apr 2021 03:08:15 +0000 (11:08 +0800)
committernegativeExponent <negativeExponent@users.noreply.github.com>
Wed, 21 Apr 2021 03:08:21 +0000 (11:08 +0800)
Makefile.libretro

index ac91cf8..bd74dec 100644 (file)
@@ -252,6 +252,7 @@ else ifeq ($(platform), ctr)
        CFLAGS += -fomit-frame-pointer -ffast-math -funroll-loops
        CFLAGS += -Ifrontend/3ds -I$(CTRULIB)/include
        CFLAGS += -Werror=implicit-function-declaration
+       CFLAGS += -DHAVE_UNISTD_H
 
        OBJS += frontend/3ds/utils.o