projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: Add defines for FXT1 texture compression.
[mesa.git]
/
src
/
mesa
/
program
/
program_lexer.l
diff --git
a/src/mesa/program/program_lexer.l
b/src/mesa/program/program_lexer.l
index 13eb90251486498f5ac09e8f9ca46403fe4c5601..c4973fd279146515086c6e347150b77cf2014ec3 100644
(file)
--- a/
src/mesa/program/program_lexer.l
+++ b/
src/mesa/program/program_lexer.l
@@
-21,7
+21,11
@@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
+
#include "main/glheader.h"
#include "main/imports.h"
#include "program/prog_instruction.h"