projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
save-cwd: reduce default dependency
[pspp]
/
lib
/
sys_time.in.h
diff --git
a/lib/sys_time.in.h
b/lib/sys_time.in.h
index 884de94e377c7f114fb7af38734a1eaad2b8b213..d11a53a4d9eeeaee5ca254b9d3ec4972874067f4 100644
(file)
--- a/
lib/sys_time.in.h
+++ b/
lib/sys_time.in.h
@@
-51,11
+51,16
@@
extern "C" {
# endif
# if ! @HAVE_STRUCT_TIMEVAL@
+
+# if !GNULIB_defined_struct_timeval
struct timeval
{
time_t tv_sec;
long int tv_usec;
};
+# define GNULIB_defined_struct_timeval 1
+# endif
+
# endif
# ifdef __cplusplus