Sync with rpm-4_0 branch.
[platform/upstream/rpm.git] / debug.h
1 /**
2  * To be included after all other includes.
3  */
4 #ifndef H_DEBUG
5 #define H_DEBUG
6
7 #include <assert.h>
8
9 #ifdef  __LCLINT__
10 #define ntohl(_x)       (_x)
11 #define ntohs(_x)       (_x)
12 #define htonl(_x)       (_x)
13 #define htons(_x)       (_x)
14 #endif
15
16 #ifdef  DMALLOC
17 #include <dmalloc.h>
18 #endif
19
20 #endif  /* H_DEBUG */