|
编译有unp.h的程序,提示timespec redefine.
原来在time.h那里已定义有,这是unp.h里的
- #ifndef HAVE_TIMESPEC_STRUCT
- struct timespec {
- time_t tv_sec; /* seconds */
- long tv_nsec; /* and nanoseconds */
- };
- /* $$.It timespec$$ */
- /* $$.Ib tv_sec$$ */
- /* $$.Ib tv_nsec$$ */
- #endif
复制代码
请问怎么办呢?:help |
|