summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_input_vdr_net.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/xine_input_vdr_net.h b/xine_input_vdr_net.h
index 480a5664..7f2e887b 100644
--- a/xine_input_vdr_net.h
+++ b/xine_input_vdr_net.h
@@ -4,13 +4,19 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr_net.h,v 1.4 2006-12-14 12:23:06 phintuka Exp $
+ * $Id: xine_input_vdr_net.h,v 1.5 2006-12-14 12:25:31 phintuka Exp $
*
*/
#ifndef __XINE_INPUT_VDR_NET_H_
#define __XINE_INPUT_VDR_NET_H_
+#ifndef PACKED
+# define PACKED __attribute__((packed))
+#else
+# warning PACKED already defined
+#endif
+
#include <arpa/inet.h>
#include <endian.h>
@@ -70,8 +76,6 @@
extern "C" {
#endif
-#define PACKED __attribute__((packed))
-
/*
* TCP / PIPE