packages/net/pcapsipdump/patches/002-elif_else_replacement.patch
florian 765871e787 [package] fix pcapsipdump compilation failure (#6983)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 11:03:25 +00:00

13 lines
371 B
Diff

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;