diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-19 16:18:31 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-19 16:18:31 +0000 |
commit | fbb42b80cb0d299f38e0a4df9b0fa01228b39225 (patch) | |
tree | 06483f7d02f1dfbc5fbbae2c2364b64264a13f3a /src/timeout.c | |
parent | 46d8f4eabe5e96a248a17a2f1583d61d9307a7d2 (diff) | |
download | luasocket-fbb42b80cb0d299f38e0a4df9b0fa01228b39225.tar.gz luasocket-fbb42b80cb0d299f38e0a4df9b0fa01228b39225.tar.bz2 luasocket-fbb42b80cb0d299f38e0a4df9b0fa01228b39225.zip |
Seems to be working on windows and linux.
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeout.c b/src/timeout.c index df199a0..09cb53d 100644 --- a/src/timeout.c +++ b/src/timeout.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <sys/times.h> | 21 | #include <sys/times.h> |
22 | #include <unistd.h> | 22 | #include <unistd.h> |
23 | #ifndef CLK_TCK | 23 | #ifndef CLK_TCK |
24 | /* CLI_TCK is now obsolete in Linux */ | ||
24 | #define CLK_TCK (sysconf(_SC_CLK_TCK)); | 25 | #define CLK_TCK (sysconf(_SC_CLK_TCK)); |
25 | #endif | 26 | #endif |
26 | #endif | 27 | #endif |