summaryrefslogtreecommitdiff
path: root/lib/rpmlead.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-09-25 19:16:05 +0000
committerewt <devnull@localhost>1996-09-25 19:16:05 +0000
commit4d8b1b4f2f1abf3d2b0e31f8aa8b0b27fd4ebd98 (patch)
tree19a61db882c8741411320003fb2cca849846a389 /lib/rpmlead.c
parente79a00174fdcae4bc63b9c2a1df0b6932260e87d (diff)
downloadlibrpm-tizen-4d8b1b4f2f1abf3d2b0e31f8aa8b0b27fd4ebd98.tar.gz
librpm-tizen-4d8b1b4f2f1abf3d2b0e31f8aa8b0b27fd4ebd98.tar.bz2
librpm-tizen-4d8b1b4f2f1abf3d2b0e31f8aa8b0b27fd4ebd98.zip
conditionally include <machine/types.h>
CVS patchset: 1053 CVS date: 1996/09/25 19:16:05
Diffstat (limited to 'lib/rpmlead.c')
-rw-r--r--lib/rpmlead.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c
index 923e175be..7d52a34ef 100644
--- a/lib/rpmlead.c
+++ b/lib/rpmlead.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_MACHINE_TYPES_H
+# include <machine/types.h>
+#endif
+
#include <netinet/in.h>
#include <stdlib.h>
#include <stdio.h>