All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] FreeBSD already defines packed. Check for existing definition, before defining.
@ 2020-07-13 15:48 Hans Petter Selasky
  0 siblings, 0 replies; only message in thread
From: Hans Petter Selasky @ 2020-07-13 15:48 UTC (permalink / raw)
  To: Linux Media Mailing List


Signed-off-by: Hans Petter Selasky <hps@selasky.org>
---
  utils/common/v4l2-tpg.h | 2 ++
  1 file changed, 2 insertions(+)

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-13 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 15:48 [PATCH] FreeBSD already defines packed. Check for existing definition, before defining Hans Petter Selasky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.