summaryrefslogtreecommitdiff
path: root/xdriinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xdriinfo.c')
-rw-r--r--xdriinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xdriinfo.c b/xdriinfo.c
index 75ab773..8a76b31 100644
--- a/xdriinfo.c
+++ b/xdriinfo.c
@@ -22,8 +22,9 @@
*
*/
-#define GLX_GLXEXT_LEGACY
+#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>
+#include <GL/glxext.h>
#include <X11/Xlib.h>
#include <stdio.h>
#include <unistd.h>