COMP: wrapped compat.h inside a extern C block so that we can use it in C++ code

This commit is contained in:
Yogi Girdhar 2006-01-16 12:54:30 -05:00
parent c59c3d37a8
commit dbff065bab
1 changed files with 7 additions and 1 deletions

View File

@ -16,7 +16,10 @@
# include <libgen.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if defined(NEED_BASENAME) && !defined(HAVE_BASENAME)
# ifdef basename
@ -324,3 +327,6 @@ char *strsep(register char **, register const char *);
# endif
#endif
#ifdef __cplusplus
}
#endif