illumos-packaging/uts/debian/patches/sys-time.h.patch

28 lines
1.2 KiB
Diff

Index: uts-headers/usr/src/uts/common/sys/time.h
===================================================================
--- uts-headers.orig/usr/src/uts/common/sys/time.h 2012-10-08 00:26:00.000000000 +0000
+++ uts-headers/usr/src/uts/common/sys/time.h 2012-11-11 14:38:49.755744075 +0000
@@ -456,22 +456,6 @@
#endif /* !defined(_KERNEL) && !defined(__XOPEN_OR_POSIX) ... */
/*
- * The inclusion of <time.h> is historical and was added for
- * backward compatibility in delta 1.2 when a number of definitions
- * were moved out of <sys/time.h>. More recently, the timespec and
- * itimerspec structure definitions, along with the _CLOCK_*, CLOCK_*,
- * _TIMER_*, and TIMER_* symbols were moved to <sys/time_impl.h>,
- * which is now included by <time.h>. This change was due to POSIX
- * 1003.1b-1993 and X/Open UNIX 98 requirements. For non-POSIX and
- * non-X/Open applications, including this header will still make
- * visible these definitions.
- */
-#if !defined(_BOOT) && !defined(_KERNEL) && \
- !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
-#include <time.h>
-#endif
-
-/*
* The inclusion of <sys/select.h> is needed for the FD_CLR,
* FD_ISSET, FD_SET, and FD_SETSIZE macros as well as the
* select() prototype defined in the XOpen specifications