include $(TOPDIR)/rules.mk
PKG_NAME:=libiconv
-PKG_RELEASE:=3
+PKG_RELEASE:=4
include $(INCLUDE_DIR)/package.mk
#ifndef _ICONV_H
#define _ICONV_H 1
+#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
+
#include <stddef.h>
-#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int _libiconv_version; /* Likewise */
typedef long iconv_t;
extern int
iconv_close(iconv_t cd);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ICONV_H */