From 7f57e8377a979f80738bcbb36b7d904af7da330d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 6 Jun 2006 10:49:33 +0000 Subject: [PATCH] oh, compiles now --- amxmodx/amxxlog.cpp | 3 ++- amxmodx/meta_api.cpp | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/amxmodx/amxxlog.cpp b/amxmodx/amxxlog.cpp index 7482f356..2048974b 100755 --- a/amxmodx/amxxlog.cpp +++ b/amxmodx/amxxlog.cpp @@ -267,4 +267,5 @@ void CLog::LogError(const char *fmt, ...) // print on server console print_srvconsole("L %s: %s\n", date, msg); -} \ No newline at end of file +} + diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index ebfb1e9e..ed666215 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -33,6 +33,8 @@ #if defined WIN32 #include +#else +#include #endif #include "amxmodx.h" @@ -187,7 +189,7 @@ void BuildPluginFileList(CStack & files) if ((dp = opendir(pluginsDir)) == NULL) return; - while ( (ep=readdir(dp) != NULL ) + while ( (ep=readdir(dp)) != NULL ) { ParseAndOrAdd(files, ep->d_name); }