Last active
May 28, 2024 15:11
-
-
Save shengwen-tw/e5dffd8aefd7d2019cfbb4b7f1048ef3 to your computer and use it in GitHub Desktop.
DirectFB2 Cross Compilation Patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/direct/os/linux/system.c b/lib/direct/os/linux/system.c | |
index fffc495b2..9d871da74 100644 | |
--- a/lib/direct/os/linux/system.c | |
+++ b/lib/direct/os/linux/system.c | |
@@ -1,3 +1,6 @@ | |
+#ifndef __NR_futex | |
+#define __NR_futex __NR_futex_time64 | |
+#endif | |
/* | |
This file is part of DirectFB. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment