diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-09 00:11:20 +0100 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2009-01-09 00:11:20 +0100 |
commit | 5f0410ccfb09b2f4787c80e80fa3d44dc4efdb26 (patch) | |
tree | 2b76f720aa98bafd6d14d9071a553bc29f60d7b7 | |
parent | aca7f01e52d8acc9b07343f51d3b5d7ba1bb807a (diff) |
[PATCH] 51_all_jpeg-Debian-jpeglib.h_c++.patch
Add extern "C" to jpeglib.h
-rw-r--r-- | jpeglib.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -13,6 +13,10 @@ #ifndef JPEGLIB_H #define JPEGLIB_H +#ifdef __cplusplus +extern "C" { +#endif + /* * First we include the configuration files that record how this * installation of the JPEG library is set up. jconfig.h can be @@ -1093,4 +1097,8 @@ struct jpeg_color_quantizer { long dummy; }; #include "jerror.h" /* fetch error codes too */ #endif +#ifdef __cplusplus +} +#endif + #endif /* JPEGLIB_H */ |