Summary: | #include <endian.h> does not work on FreeBSD | ||
---|---|---|---|
Product: | libqmi | Reporter: | Ting-Wei Lan <lantw44> |
Component: | libqmi | Assignee: | Dan Williams <dcbw> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | FreeBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Ting-Wei Lan
2014-01-19 07:54:10 UTC
(In reply to comment #0) > #include <endian.h> is used in src/libqmi-glib/qmi-message.c, but #include > <sys/endian.h> should be used instead on FreeBSD and NetBSD. We should check > the location of endian.h before using it. err... this library is supposed to be used with the Linux kernel, as it uses character devices exposed by Linux >= 3.4. Not sure how this is applicable to *BSDs. I agree -- the only reason we wanted qmi in the first place is because ModemManager uses it, and ModemManager itself is not even close to being able to run on non-Linux systems. Let's set this one aside for now. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.