projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wchar: Ensure that wchar_t gets defined on uClibc.
[gnulib.git]
/
lib
/
sys_time.in.h
diff --git
a/lib/sys_time.in.h
b/lib/sys_time.in.h
index
884de94
..
d11a53a
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