summaryrefslogtreecommitdiff
path: root/debug.h
blob: 44c8d64713fd3efbff9926428a44e72d6ecd6604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * To be included after all other includes.
 */
#ifndef	H_DEBUG
#define	H_DEBUG

#include <assert.h>

#ifdef  __LCLINT__
#define	ntohl(_x)	(_x)
#define	ntohs(_x)	(_x)
#define	htonl(_x)	(_x)
#define	htons(_x)	(_x)
#endif

#ifdef	DMALLOC
#include <dmalloc.h>
#endif

#endif	/* H_DEBUG */