summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-07-19 10:36:42 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2015-07-19 10:36:42 +0100
commite45be3ce6e34d62bc2b0e7ffe44925fb3f69ffbf (patch)
tree070cf9432b06ac25d7c174ff2bb969d76c24be43
parent244ff9f08dd8c83baba4d44401eae0e8ebb58246 (diff)
downloadlibnslayout-e45be3ce6e34d62bc2b0e7ffe44925fb3f69ffbf.tar.gz
libnslayout-e45be3ce6e34d62bc2b0e7ffe44925fb3f69ffbf.tar.bz2
C++ scoping.
-rw-r--r--include/libnslayout/nslayout.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libnslayout/nslayout.h b/include/libnslayout/nslayout.h
index a720b32..e51bf31 100644
--- a/include/libnslayout/nslayout.h
+++ b/include/libnslayout/nslayout.h
@@ -8,6 +8,11 @@
#ifndef nslayout_nslayout_h_
#define nslayout_nslayout_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <libcss/libcss.h>
#include <dom/dom.h>