summary refs log tree commit diff
path: root/pkgs/games/dwarf-fortress/dfhack/fix-stonesense.patch
blob: da860cd556247aa87808b6982e0f20020a31770a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From f5be6fe5fb192f01ae4551ed9217e97fd7f6a0ae Mon Sep 17 00:00:00 2001
From: Herwig Hochleitner <hhochleitner@gmail.com>
Date: Sun, 1 Oct 2017 18:01:43 +0200
Subject: [PATCH] include <GL/glext.h>

this fixes `GLhandleARB` not being defined
---
 plugins/stonesense/common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/stonesense/common.h b/plugins/stonesense/common.h
index eb36691..ef45389 100644
--- a/plugins/stonesense/common.h
+++ b/plugins/stonesense/common.h
@@ -31,6 +31,8 @@ using namespace df::enums;
 #include <allegro5/allegro_opengl.h>
 #include <allegro5/utf8.h>
 
+#include <GL/glext.h>
+
 // allegro leaks X headers, undef some of it here:
 #undef TileShape
 #undef None