aboutsummaryrefslogtreecommitdiff
path: root/src/usocket.h
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-09 18:23:40 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-09 18:23:40 +0000
commit58bdb658aaa1c30a8f3bed46eef880d308fae582 (patch)
tree5bf880c715daff79c1a2062f2f3ae8336858c83f /src/usocket.h
parentb2724ad2d1cc3768a04270ed3f8014ec65ad133b (diff)
downloadluasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.tar.gz
luasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.tar.bz2
luasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.zip
Select re-implemented in a nicer way.
Few changes in internal class and group registration. Lua modules are compiled and built into library. Dynamic library tested in Linux and Mac OS X.
Diffstat (limited to 'src/usocket.h')
-rw-r--r--src/usocket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usocket.h b/src/usocket.h
index f124bce..9e4b75a 100644
--- a/src/usocket.h
+++ b/src/usocket.h
@@ -31,6 +31,11 @@
31#include <netinet/in.h> 31#include <netinet/in.h>
32#include <arpa/inet.h> 32#include <arpa/inet.h>
33 33
34#ifdef __APPLE__
35/* for some reason socklen_t is not defined in mac os x */
36typedef int socklen_t;
37#endif
38
34typedef int t_sock; 39typedef int t_sock;
35typedef t_sock *p_sock; 40typedef t_sock *p_sock;
36 41