shithub: duke3d

Download patch

ref: 4c3fbc62e6dfea613d2efb5f6e484322384861ab
parent: 90d7173865e15ad8d93fb3ce3429e8f08b02f0c2
author: Marshall Banana <djcj@gmx.de>
date: Sat May 2 18:45:17 EDT 2015

Check for enet/enet.h in system headers

--- a/Engine/src/mmulti.c
+++ b/Engine/src/mmulti.c
@@ -14,10 +14,10 @@
 
 #include "mmulti_unstable.h"
 
-#if defined(__APPLE__)
-   #include "enet/include/enet.h"
+#if (HAVE_ENET_ENET_H == 1)
+	#include <enet/enet.h>
 #else
-   #include <enet.h>
+	#include "enet/include/enet.h"
 #endif
 
 //STL