Red Hat Bugzilla – Bug 836923
Missing sys/time.h include in libcli.h
Last modified: 2012-07-10 16:58:08 EDT
Description of problem:
There are some compilation errors when compiling with libcli.h, because there is missing sys/time.h include.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Include libcli.h (see additional info).
$ cat test.c
int main(int argc, char *argv)
$ gcc test.c
In file included from test.c:2:0:
/usr/include/libcli.h:59:20: error: field ‘timeout_tm’ has incomplete type
/usr/include/libcli.h:62:5: error: unknown type name ‘time_t’
Addition of '#include <sys/time.h>' to libcli.h should fix this.
Affected f16 - rawhide. I am OK with rawhide fix only.
Updated to 1.9.6 in rawhide which fixes this. It's not a soname bump, so I'll push back to f16 as well.
libcli-1.9.6-1.fc17 has been submitted as an update for Fedora 17.
libcli-1.9.6-1.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libcli-1.9.6-1.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
libcli-1.9.6-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
libcli-1.9.6-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.