[Glibc-bsd-commits] r4040 - in trunk/freebsd-buildutils/debian: . local/include/sys
Robert Millan
rmh at alioth.debian.org
Sun Jan 29 01:59:59 UTC 2012
Author: rmh
Date: 2012-01-29 01:59:58 +0000 (Sun, 29 Jan 2012)
New Revision: 4040
Added:
trunk/freebsd-buildutils/debian/local/include/sys/time.h
Modified:
trunk/freebsd-buildutils/debian/changelog
Log:
Add sys/time.h.
Modified: trunk/freebsd-buildutils/debian/changelog
===================================================================
--- trunk/freebsd-buildutils/debian/changelog 2012-01-29 01:59:34 UTC (rev 4039)
+++ trunk/freebsd-buildutils/debian/changelog 2012-01-29 01:59:58 UTC (rev 4040)
@@ -10,8 +10,9 @@
caused version_gen.awk to hang.
* Add __offsetof().
* Add nfssvc, closefrom and feature_present to unistd.h.
+ * Add sys/time.h.
- -- Robert Millan <rmh at debian.org> Sun, 29 Jan 2012 02:59:15 +0100
+ -- Robert Millan <rmh at debian.org> Sun, 29 Jan 2012 02:59:54 +0100
freebsd-buildutils (9.0-2) unstable; urgency=low
Added: trunk/freebsd-buildutils/debian/local/include/sys/time.h
===================================================================
--- trunk/freebsd-buildutils/debian/local/include/sys/time.h (rev 0)
+++ trunk/freebsd-buildutils/debian/local/include/sys/time.h 2012-01-29 01:59:58 UTC (rev 4040)
@@ -0,0 +1,12 @@
+#include_next <sys/time.h>
+
+#ifndef _SYS_TIME_H_
+#define _SYS_TIME_H_
+
+/* On FreeBSD, <sys/time.h> is expected to CLOCK_MONOTONIC, etc,
+ which on Glibc are defined in <bits/time.h>. Glibc's <sys/time.h>
+ doesn't include <bits/time.h> in full mode, but Glibc's <time.h>
+ does. */
+#include <time.h>
+
+#endif
More information about the Glibc-bsd-commits
mailing list