luasocket: restore code to compile unix sockets on windows.

This commit is contained in:
Sasha Szpakowski
2024-02-25 14:39:40 -04:00
parent 5907a7efe7
commit bb7312e057
2 changed files with 9 additions and 0 deletions
@@ -12,7 +12,11 @@
#include <string.h>
#include <stdlib.h>
#ifdef _WIN32
#include <afunix.h>
#else
#include <sys/un.h>
#endif
#define UNIXDGRAM_DATAGRAMSIZE 8192
@@ -10,7 +10,12 @@
#include "unixstream.h"
#include <string.h>
#ifdef _WIN32
#include <afunix.h>
#else
#include <sys/un.h>
#endif
/*=========================================================================*\
* Internal function prototypes