patch-2.0.1 linux/include/linux/time.h

Next file: linux/include/linux/ultrasound.h
Previous file: linux/include/linux/sysv_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/include/linux/time.h linux/include/linux/time.h
@@ -1,10 +1,13 @@
 #ifndef _LINUX_TIME_H
 #define _LINUX_TIME_H
 
+#ifndef _STRUCT_TIMESPEC
+#define _STRUCT_TIMESPEC
 struct timespec {
 	long	tv_sec;		/* seconds */
 	long	tv_nsec;	/* nanoseconds */
 };
+#endif /* _STRUCT_TIMESPEC */
 
 struct timeval {
 	int	tv_sec;		/* seconds */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov