summaryrefslogtreecommitdiff
path: root/libc/debian/patches/__time_t.patch
blob: c600393cd8ea975638837f80d2dbb4aac039fe00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: b/usr/src/head/time.h
===================================================================
--- a/usr/src/head/time.h
+++ b/usr/src/head/time.h
@@ -43,6 +43,11 @@
 #include <sys/time_impl.h>
 #endif /* (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) ... */
 
+
+/* hello, nano! */
+#undef __time_t
+#define __time_t time_t
+
 /*
  * Allow global visibility for symbols defined in
  * C++ "std" namespace in <iso/time_iso.h>.