summaryrefslogtreecommitdiff
path: root/lib/package.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-12 20:43:23 +0000
committerjbj <devnull@localhost>1999-09-12 20:43:23 +0000
commitf005d4c15c11eacc245d11e2f069881d2543e32c (patch)
treeb001f1e5698de223c4a813e3b00dea011b8c5748 /lib/package.c
parentfa165f14175844cbb582eea1617345da0bd779eb (diff)
downloadlibrpm-tizen-f005d4c15c11eacc245d11e2f069881d2543e32c.tar.gz
librpm-tizen-f005d4c15c11eacc245d11e2f069881d2543e32c.tar.bz2
librpm-tizen-f005d4c15c11eacc245d11e2f069881d2543e32c.zip
Fiddles to resurrect lclint.
CVS patchset: 3281 CVS date: 1999/09/12 20:43:23
Diffstat (limited to 'lib/package.c')
-rw-r--r--lib/package.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/package.c b/lib/package.c
index b89f58ccc..a9264d200 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -1,6 +1,13 @@
#include "system.h"
+#ifdef __LCLINT__
+#define ntohl(_x) (_x)
+#define ntohs(_x) (_x)
+#define htonl(_x) (_x)
+#define htons(_x) (_x)
+#else
#include <netinet/in.h>
+#endif /* __LCLINT__ */
#include <rpmlib.h>