summaryrefslogtreecommitdiff
path: root/GL/glx/single2.c
diff options
context:
space:
mode:
Diffstat (limited to 'GL/glx/single2.c')
-rw-r--r--GL/glx/single2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/GL/glx/single2.c b/GL/glx/single2.c
index 029077841..43f35ed68 100644
--- a/GL/glx/single2.c
+++ b/GL/glx/single2.c
@@ -42,6 +42,10 @@
#include "g_disptab.h"
#include "GL/glx_ansic.h"
+#ifdef __CYGWIN__ /* should be XFree86Server */
+#define xf86atof atof
+#endif
+
int __glXDisp_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc)
{
GLsizei size;