Skip to content

Commit

Permalink
fixed compile error in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zjhongxian committed Jul 6, 2023
1 parent 2fc8b70 commit 176bf29
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
#include "luasocket/tcp.h"

#if PLATFORM_WINDOWS
#include "AllowWindowsPlatformTypes.h"
#include "AllowWindowsPlatformAtomics.h"
#include <winsock2.h>
#include "HideWindowsPlatformAtomics.h"
#include "HideWindowsPlatformTypes.h"
#else
#include <sys/ioctl.h>
#endif
Expand Down

0 comments on commit 176bf29

Please sign in to comment.