From 2dc8ebe904601f9cc85cc3aa5859148b6e4d79f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 3 Dec 2011 11:00:32 +0000 Subject: [PATCH] Include unistd.h for symlink. Fixes build on Mac OS X 10.6. --- cgltrace.py | 1 - glproc_gl.cpp | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cgltrace.py b/cgltrace.py index 1b31419..2100723 100644 --- a/cgltrace.py +++ b/cgltrace.py @@ -44,7 +44,6 @@ if __name__ == '__main__': print print '#include ' print '#include ' - print '#include ' print print '#include "trace_writer.hpp"' print diff --git a/glproc_gl.cpp b/glproc_gl.cpp index d9fb469..d032e8b 100644 --- a/glproc_gl.cpp +++ b/glproc_gl.cpp @@ -28,9 +28,7 @@ #if !defined(_WIN32) -#ifndef _GNU_SOURCE -#define _GNU_SOURCE // for dladdr -#endif +#include // for symlink #include #endif -- 2.7.4