Fix #13: Support C-linkage for C++ compilation

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2019-05-24 21:57:57 +02:00
1 parent b15a14e920
commit 7f053f7624
8 files changed
+74

No files matched your search

+9
View File
@@ -32,6 +32,11 @@
* @(#)queue.h 8.5 (Berkeley) 8/20/94
*/
#ifdef __cplusplus
extern "C"
{
#endif
#ifndef _SYS_QUEUE_H_
#define _SYS_QUEUE_H_
@@ -531,3 +536,7 @@ struct { \
} while (0)
#endif /* !_SYS_QUEUE_H_ */
#ifdef __cplusplus
}
#endif