Bug 836923
| Summary: | Missing sys/time.h include in libcli.h | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> |
| Component: | libcli | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | gwync |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-10 20:52:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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. https://admin.fedoraproject.org/updates/libcli-1.9.6-1.fc17 libcli-1.9.6-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/libcli-1.9.6-1.fc16 Package libcli-1.9.6-1.fc16: * 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: https://admin.fedoraproject.org/updates/FEDORA-2012-10163/libcli-1.9.6-1.fc16 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. |
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): libcli-devel-1.9.5-3.fc16 How reproducible: Always Steps to Reproduce: 1. Include libcli.h (see additional info). 2. Compile. Actual results: Errors. Expected results: No errors. Additional info: $ cat test.c #include <libcli.h> int main(int argc, char *argv[]) { return 0; } $ 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.