aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-19 15:54:42 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-19 15:54:42 +0000
commit46d8f4eabe5e96a248a17a2f1583d61d9307a7d2 (patch)
treebbd2ff8bfb9e183d2608937bbfd08007f095aace /src/timeout.c
parentf210508b2286dabfe53b1522ffad36eb8b823a3c (diff)
downloadluasocket-46d8f4eabe5e96a248a17a2f1583d61d9307a7d2.tar.gz
luasocket-46d8f4eabe5e96a248a17a2f1583d61d9307a7d2.tar.bz2
luasocket-46d8f4eabe5e96a248a17a2f1583d61d9307a7d2.zip
Changed to be able to compile with -ansi and -pedantic!
Have to try in MacOS X again...
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 0063378..df199a0 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -20,6 +20,9 @@
20#include <sys/time.h> 20#include <sys/time.h>
21#include <sys/times.h> 21#include <sys/times.h>
22#include <unistd.h> 22#include <unistd.h>
23#ifndef CLK_TCK
24#define CLK_TCK (sysconf(_SC_CLK_TCK));
25#endif
23#endif 26#endif
24 27
25/*=========================================================================*\ 28/*=========================================================================*\