Don't include wmem.h in packet_info.h, just use the struct name directly.

Otherwise wmem tweaks require rebuilding the entire tree for no particular
reason.

svn path=/trunk/; revision=48018
This commit is contained in:
Evan Huus 2013-03-02 21:28:29 +00:00
parent 16bda3caf4
commit a668f359c8
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@
#include "frame_data.h"
#include "tvbuff.h"
#include "address.h"
#include "wmem/wmem_core.h"
/* Also defined in wiretap/wtap.h */
#define P2P_DIR_UNKNOWN -1
@ -214,7 +213,7 @@ typedef struct _packet_info {
GSList *frame_end_routines;
wmem_allocator_t *pool; /**< Memory pool scoped to the pinfo struct */
struct _wmem_allocator_t *pool; /**< Memory pool scoped to the pinfo struct */
} packet_info;
/**< For old code that hasn't yet been changed. */