[commit] r250 - sofaswitch/trunk/server
Author: derek Date: Mon May 14 22:34:43 2007 New Revision: 250 Modified: sofaswitch/trunk/server/counts.h sofaswitch/trunk/server/main.h Log: Add ptlib checks around include of ptlib.h Modified: sofaswitch/trunk/server/counts.h ============================================================================== --- sofaswitch/trunk/server/counts.h (original) +++ sofaswitch/trunk/server/counts.h Mon May 14 22:34:43 2007 @@ -26,7 +26,9 @@ #ifndef _COUNTS_H #define _COUNTS_H +#ifndef _PTLIB_H #include <ptlib.h> +#endif #ifdef P_USE_PRAGMA #pragma interface Modified: sofaswitch/trunk/server/main.h ============================================================================== --- sofaswitch/trunk/server/main.h (original) +++ sofaswitch/trunk/server/main.h Mon May 14 22:34:43 2007 @@ -30,7 +30,10 @@ #pragma interface #endif +#ifndef _PTLIB_H #include <ptlib.h> +#endif + #include <ptlib/sockets.h> #include <ptlib/safecoll.h>
participants (1)
-
SofaSWITCH SVN