summaryrefslogtreecommitdiff
path: root/lib/rpmlead.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmlead.h')
-rw-r--r--lib/rpmlead.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/rpmlead.h b/lib/rpmlead.h
index 8368c11d3..2de5941d3 100644
--- a/lib/rpmlead.h
+++ b/lib/rpmlead.h
@@ -1,11 +1,19 @@
#ifndef _H_RPMLEAD
#define _H_RPMLEAD
-#include "rpmlib.h"
+#include <rpmlib.h>
/* Other definitions went to rpmlib.h */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int writeLead(FD_t fd, struct rpmlead *lead);
int readLead(FD_t fd, struct rpmlead *lead);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _H_RPMLEAD */