diff options
author | Bill Allombert <ballombe@debian.org> | 2009-01-09 00:50:51 +0100 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2009-01-09 00:50:51 +0100 |
commit | 9e4f6f15a8170cc7260bb51cb4d9a474a39a51d0 (patch) | |
tree | 8ca1880323df8ed79cc7426ad266280262677abb | |
parent | 888d8b3cecbf24cda29597323d3bcddb76141c46 (diff) |
[PATCH] 202_jpeglib.h_c++.dpatch
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 */ |