From 84157efa5ac4ee391e8615db69b07027428e331d Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 28 Aug 2007 11:20:24 +0000 Subject: Clean up the way get_path is handled: Compile get_path.c to an object to link against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2 --- get_path.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'get_path.c') diff --git a/get_path.c b/get_path.c index f40580f1f9..952979bbe7 100644 --- a/get_path.c +++ b/get_path.c @@ -8,14 +8,17 @@ * by the caller. * */ + +#include +#include +#include +#include "mp_msg.h" + #ifdef MACOSX_BUNDLE #include #include #include -#include -#include #include -#include #endif char *get_path(const char *filename){ -- cgit v1.2.3