From 3ed8c9f2df0b5f0bfe1006037c46d4f32ec6ca7b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 10 Nov 2011 20:40:06 -0500 Subject: fix all missing instances of __cplusplus checks/extern "C" in headers patch by Arvid Picciani (aep) --- include/alloca.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/alloca.h') diff --git a/include/alloca.h b/include/alloca.h index ac78e460..f61b817a 100644 --- a/include/alloca.h +++ b/include/alloca.h @@ -1,9 +1,17 @@ #ifndef _ALLOCA_H #define _ALLOCA_H +#ifdef __cplusplus +extern "C" { +#endif + #define __NEED_size_t #include void *alloca(size_t); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.1