From 3db384424bd7398ffbb7a355cab8f15f3add009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Oct 2016 19:24:58 +0200 Subject: New upstream version 1.9.1+repack --- h/xlist.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'h/xlist.h') diff --git a/h/xlist.h b/h/xlist.h index dc03019..a9b3c6f 100644 --- a/h/xlist.h +++ b/h/xlist.h @@ -3,6 +3,10 @@ #ifndef _XLIST_H_ +#ifdef __cplusplus + extern "C" { +#endif + /* An expanding list structure */ #define XLIST(objtype, name) \ struct { \ @@ -51,6 +55,10 @@ struct { \ #define XLIST_FREE(xlp) \ { if ((xlp)->_no > 0) free((xlp)->list); } +#ifdef __cplusplus + } +#endif + #define _XLIST_H_ #endif /* _XLIST_H_ */ -- cgit v1.2.3