From 7a08ab3c24c1fb642e6b840f18e186b69c5c9290 Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 3 Aug 2011 11:31:06 +0000 Subject: [PATCH] Added in some includes that are required on some systems. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3489 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_user.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/zm_user.cpp b/src/zm_user.cpp index afdc444d4..8dbebaaa3 100644 --- a/src/zm_user.cpp +++ b/src/zm_user.cpp @@ -23,6 +23,9 @@ #include "zm_user.h" #include +#include +#include +#include User::User() { @@ -63,14 +66,10 @@ User::User( MYSQL_ROW &dbrow ) { monitor_ids[n_monitor_ids++] = id; if ( !*ptr ) - { break; - } } while ( !isdigit( *ptr ) ) - { ptr++; - } } while( *ptr ); monitor_ids[n_monitor_ids] = 0; }