diff --git a/libgphoto2_port/gphoto2/gphoto2-port-portability.h b/libgphoto2_port/gphoto2/gphoto2-port-portability.h index b17a37fd5..2233f7648 100644 --- a/libgphoto2_port/gphoto2/gphoto2-port-portability.h +++ b/libgphoto2_port/gphoto2/gphoto2-port-portability.h @@ -2,6 +2,8 @@ #ifndef __GPHOTO2_PORT_PORTABILITY_H__ #define __GPHOTO2_PORT_PORTABILITY_H__ +#ifdef _GPHOTO2_INTERNAL_CODE + #if defined(WIN32) && !defined(__WINESRC__) /************************************************************************ @@ -214,6 +216,7 @@ int gp_system_is_dir (const char *dirname); /************************************************************************ * End platform independent portability functions ************************************************************************/ +#endif /* _GPHOTO2_INTERNAL_CODE */ #endif /* ifndef __GPHOTO2_PORT_PORTABILITY_H__ */ /* end of file */