Message ID | 6664dfef-7ef7-af9c-e558-a8e9e242b593@selasky.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | FreeBSD already defines packed. Check for existing definition, before defining. | expand |
diff --git a/utils/common/v4l2-tpg.h b/utils/common/v4l2-tpg.h index c07c60aa..b2eab10d 100644 --- a/utils/common/v4l2-tpg.h +++ b/utils/common/v4l2-tpg.h @@ -22,7 +22,9 @@ typedef __s16 s16; typedef __u8 u8; typedef __s8 s8; +#ifndef __packed #define __packed __attribute__((packed)) +#endif #define pr_info printf #define noinline
Signed-off-by: Hans Petter Selasky <hps@selasky.org> --- utils/common/v4l2-tpg.h | 2 ++ 1 file changed, 2 insertions(+)