[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xnanosleep.c port to OpenBSD 3.4
From: |
Paul Eggert |
Subject: |
xnanosleep.c port to OpenBSD 3.4 |
Date: |
Fri, 01 Jul 2005 10:33:41 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
I installed the following to fix a porting problem with OpenBSD 3.4.
Its <time.h> declares 'struct timespec' but does not define it,
i.e., it says only "struct timespec;". (That's pretty usesless, hun?)
2005-07-01 Paul Eggert <address@hidden>
* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>
declares only 'struct timespec;' (!).
Index: lib/xnanosleep.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xnanosleep.c,v
retrieving revision 1.5
diff -p -u -r1.5 xnanosleep.c
--- lib/xnanosleep.c 14 May 2005 06:03:58 -0000 1.5
+++ lib/xnanosleep.c 1 Jul 2005 17:23:52 -0000
@@ -33,6 +33,7 @@
#include <time.h>
#include "intprops.h"
+#include "timespec.h"
#ifndef TIME_T_MAX
# define TIME_T_MAX TYPE_MAXIMUM (time_t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- xnanosleep.c port to OpenBSD 3.4,
Paul Eggert <=