linux-2.6/compat-2.6/ip_output-openvswitch.c \
linux-2.6/compat-2.6/kmemdup.c \
linux-2.6/compat-2.6/random32.c \
- linux-2.6/compat-2.6/skbuff-openvswitch.c
+ linux-2.6/compat-2.6/skbuff-openvswitch.c \
+ linux-2.6/compat-2.6/time.c
openvswitch_headers += \
linux-2.6/compat-2.6/compat26.h \
linux-2.6/compat-2.6/include/asm-generic/bug.h \
linux-2.6/compat-2.6/include/linux/slab.h \
linux-2.6/compat-2.6/include/linux/stddef.h \
linux-2.6/compat-2.6/include/linux/tcp.h \
- linux-2.6/compat-2.6/include/linux/time.h \
linux-2.6/compat-2.6/include/linux/timer.h \
linux-2.6/compat-2.6/include/linux/types.h \
linux-2.6/compat-2.6/include/linux/udp.h \
-#ifndef __LINUX_TIME_WRAPPER_H
-#define __LINUX_TIME_WRAPPER_H 1
-
-#include_next <linux/time.h>
+#include <linux/time.h>
#include <linux/version.h>
/* "set_normalized_timespec" is defined but not exported in kernels
* before 2.6.26. */
-#define set_normalized_timespec(ts, sec, nsec) \
- rpl_set_normalized_timespec(ts, sec, nsec)
/**
* set_normalized_timespec - set timespec sec and nsec parts and normalize
* 0 <= tv_nsec < NSEC_PER_SEC
* For negative values only the tv_sec field is negative !
*/
-static inline void rpl_set_normalized_timespec(struct timespec *ts,
+void set_normalized_timespec(struct timespec *ts,
time_t sec, long nsec)
{
while (nsec >= NSEC_PER_SEC) {
}
#endif /* linux kernel < 2.6.26 */
-
-#endif