projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid namespace pollution on glibc systems.
[pspp]
/
lib
/
sys_times.in.h
diff --git
a/lib/sys_times.in.h
b/lib/sys_times.in.h
index 31ab4ce37c594205c835d12f4a4fb59dd81ba35e..34aa281ee18ea48254e338ef6c9e504de4bea677 100644
(file)
--- a/
lib/sys_times.in.h
+++ b/
lib/sys_times.in.h
@@
-32,8
+32,11
@@
# define _GL_SYS_TIMES_H
-/* Get clock_t. */
-# include <time.h>
+/* Get clock_t.
+ But avoid namespace pollution on glibc systems. */
+# ifndef __GLIBC__
+# include <time.h>
+# endif
/* The definition of GL_LINK_WARNING is copied here. */