packages/net/pcapsipdump/patches/002-elif_else_replacement.patch

13 lines
371 B
Diff
Raw Normal View History

diff -urN pcapsipdump-0.1.4/pcapsipdump.h pcapsipdump-0.1.4.new/pcapsipdump.h
--- pcapsipdump-0.1.4/pcapsipdump.h 2007-05-11 20:40:49.000000000 +0200
+++ pcapsipdump-0.1.4.new/pcapsipdump.h 2010-03-29 09:52:20.000000000 +0200
@@ -35,7 +35,7 @@
#elif defined (__BIG_ENDIAN)
uint8_t version:4,
ihl:4;
-#elif
+#else
#error Endian not defined
#endif
uint8_t tos;