forked from osmocom/wireshark
Add #define guard.
This fixes bug 6341. svn path=/trunk/; revision=38995
This commit is contained in:
parent
958df0d82a
commit
cb5f6d0d75
|
@ -4,6 +4,9 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef __IN_CKSUM_H__
|
||||
#define __IN_CKSUM_H__
|
||||
|
||||
typedef struct {
|
||||
const guint8 *ptr;
|
||||
int len;
|
||||
|
@ -12,3 +15,5 @@ typedef struct {
|
|||
extern int in_cksum(const vec_t *vec, int veclen);
|
||||
|
||||
extern guint16 in_cksum_shouldbe(guint16 sum, guint16 computed_sum);
|
||||
|
||||
#endif /* __IN_CKSUM_H__ */
|
||||
|
|
Loading…
Reference in New Issue