mirror of
https://github.com/shadowsocks/libancillary.git
synced 2025-06-28 14:19:53 +00:00
Fix C++ building
This commit is contained in:
parent
0e70ac2aef
commit
311e5d14f5
1 changed files with 8 additions and 0 deletions
|
@ -31,6 +31,10 @@
|
|||
#ifndef ANCILLARY_H__
|
||||
#define ANCILLARY_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************************************************************
|
||||
* Start of the readable part.
|
||||
***************************************************************************/
|
||||
|
@ -120,4 +124,8 @@ ancil_recv_fd(int, int *);
|
|||
* Returns : -1 and errno in case of error, 0 in case of success.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ANCILLARY_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue