fix VS2010 build warning

This commit is contained in:
Jeff Lenk 2014-08-16 18:22:41 -05:00
parent ecbf662ce7
commit 571cf932dc
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
#include "ws.h"
#include <pthread.h>
#ifdef _MSC_VER
/* warning C4706: assignment within conditional expression*/
#pragma warning(disable: 4706)
#endif
#ifndef _MSC_VER
#include <fcntl.h>
#endif