Skip to content

Commit

Permalink
Fix C++ building
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Nov 6, 2015
1 parent 0e70ac2 commit 311e5d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ancillary.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
#ifndef ANCILLARY_H__
#define ANCILLARY_H__

#ifdef __cplusplus
extern "C" {
#endif

/***************************************************************************
* Start of the readable part.
***************************************************************************/
Expand Down Expand Up @@ -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__ */

0 comments on commit 311e5d1

Please sign in to comment.