aboutsummaryrefslogblamecommitdiff
path: root/games/SRB2/files/patch-src_byteptr.h
blob: b76da911f6ba89127da2e4d34f4133aefcf54e64 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                   
--- src/byteptr.h.orig	2021-10-10 01:56:02 UTC
+++ src/byteptr.h
@@ -83,6 +83,7 @@
 //
 // Write a value to a little-endian, unaligned destination.
 //
+#include "doomtype.h"
 FUNCINLINE static ATTRINLINE void writeshort(void *ptr, INT32 val)
 {
 	SINT8 *cp = ptr;