summaryrefslogtreecommitdiffstats
path: root/common/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/parse.h')
-rw-r--r--common/parse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/parse.h b/common/parse.h
index 69a57ff8..97911abb 100644
--- a/common/parse.h
+++ b/common/parse.h
@@ -116,7 +116,8 @@ struct stream
(v) = *((unsigned char*)((s)->p)); \
(s)->p++; \
} while (0)
-
+/******************************************************************************/
+#define in_uint8_peek(s, v) do { v = *s->p; } while (0)
/******************************************************************************/
#if defined(B_ENDIAN) || defined(NEED_ALIGN)
#define in_sint16_le(s, v) do \