[tz] [PROPOSED 1/2] Don’t include <sys/type.h>
Paul Eggert
eggert at cs.ucla.edu
Thu Oct 27 19:29:17 UTC 2022
* private.h: Do not include <sys/types.h> for time_t.
Including sys/types.h was added on 1989-04-10 to support pre-C89
platforms, but this is no longer needed now that we assume C89.
---
private.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/private.h b/private.h
index ffb9d48..baacdfb 100644
--- a/private.h
+++ b/private.h
@@ -179,7 +179,6 @@
#undef tzfree
#include <stddef.h>
-#include <sys/types.h> /* for time_t */
#include <string.h>
#include <limits.h> /* for CHAR_BIT et al. */
#include <stdlib.h>
--
2.37.3
More information about the tz
mailing list