|
Check-in Number:
|
3739 | |
| Date: |
2004-Jan-10 23:43:40 (local)
2004-Jan-10 22:43:40 (UTC) |
| User: | rse |
| Branch: | |
| Comment: |
fix building |
| Tickets: |
|
| Inspections: |
|
| Files: |
|
ossp-pkg/uuid/uuid.c 1.20 -> 1.21
--- uuid.c 2004/01/10 22:18:48 1.20
+++ uuid.c 2004/01/10 22:43:40 1.21
@@ -482,7 +482,11 @@
static uuid_rc_t uuid_generate_v1(uuid_t *uuid, unsigned int mode, va_list ap)
{
struct timeval time_now;
+#ifdef HAVE_NANOSLEEP
+ struct timespec ts;
+#else
struct timeval tv;
+#endif
ui64_t t;
ui64_t offset;
ui64_t ov;
|
|