diff mbox

[-,tinycompress,-,brace,issue,1/1] tinycompress: fix compilation error: missing brace issue

Message ID 1457950559-26012-1-git-send-email-francois.gaffie@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

francois.gaffie@intel.com March 14, 2016, 10:15 a.m. UTC
From: François Gaffie <francois.gaffie@intel.com>

Signed-off-by: François Gaffie <francois.gaffie@intel.com>
diff mbox

Patch

diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h
index 68626a4..d35801b 100644
--- a/include/tinycompress/tinycompress.h
+++ b/include/tinycompress/tinycompress.h
@@ -273,4 +273,7 @@  int is_compress_ready(struct compress *compress);
 /* Returns a human readable reason for the last error */
 const char *compress_get_error(struct compress *compress);
 
+#if defined(__cplusplus)
+}
+#endif
 #endif
diff --git a/include/tinycompress/tinymp3.h b/include/tinycompress/tinymp3.h
index a709c39..7015320 100644
--- a/include/tinycompress/tinymp3.h
+++ b/include/tinycompress/tinymp3.h
@@ -102,5 +102,7 @@  enum mp3_stereo_mode {
 	DUAL = 0x02,
 	MONO = 0x03
 };
-
+#if defined(__cplusplus)
+}
+#endif
 #endif