Check time.h and sys/time.h for libgtop
Hello!
On latest master, clang
throws these warnings:
/usr/include/libgtop-2.0/glibtop/global.h:31:5: warning: 'TIME_WITH_SYS_TIME' is not defined, evaluates to 0 [-Wundef]
#if TIME_WITH_SYS_TIME
^
/usr/include/libgtop-2.0/glibtop/global.h:35:6: warning: 'HAVE_SYS_TIME_H' is not defined, evaluates to 0 [-Wundef]
# if HAVE_SYS_TIME_H
^
This commit fixes these warnings.
Thanks!
Edited by Avinash Sonawane