From 6d68bff0e950be9c550f3b3bc60e6fa4a86edd7d Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 31 Jul 2022 05:10:02 +0300
Subject: [PATCH] sync SDL_endian.h with mainstream SDL2.
---
include/SDL/SDL_endian.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL/SDL_endian.h b/include/SDL/SDL_endian.h
index 24773f2a..94cbb516 100644
--- a/include/SDL/SDL_endian.h
+++ b/include/SDL/SDL_endian.h
@@ -41,7 +41,7 @@ real SDL-1.2 available to you. */
#ifdef __linux__
#include <endian.h>
#define SDL_BYTEORDER __BYTE_ORDER
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__DragonFly__)
#include <endian.h>
#define SDL_BYTEORDER BYTE_ORDER
#elif defined(__FreeBSD__) || defined(__NetBSD__)