libusb.h: Ensure that struct libusb_control_transfer is not padded
There is nothing explicitly preventing the compiler from adding any sort
of padding to the libusb_control_transfer structure. It does not seem
that any sane compiler would do so, but there is library functionality
that depends on this not happening. Address this by explicitly
instructing the compiler to pack the structure.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
diff --git a/doc/doxygen.cfg.in b/doc/doxygen.cfg.in
index 504d41c..f4ccf1e 100644
--- a/doc/doxygen.cfg.in
+++ b/doc/doxygen.cfg.in
@@ -2113,7 +2113,8 @@
PREDEFINED = API_EXPORTED= \
DEFAULT_VISIBILITY= \
- LIBUSB_CALL=
+ LIBUSB_CALL= \
+ LIBUSB_PACKED=
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The