# HG changeset patch # User komh # Date 1268215259 0 # Node ID 0bb5a351cdd7d7a2cf3cc0dd1d6bd529faaada32 # Parent 6f68476cced75011db36d0b138ce45afbf865ae6 Include osdep/osdep.h instead of checking a platfrom specific macro to include a platform specific header. diff -r 6f68476cced7 -r 0bb5a351cdd7 get_path.c --- a/get_path.c Tue Mar 09 19:21:39 2010 +0000 +++ b/get_path.c Wed Mar 10 10:00:59 2010 +0000 @@ -40,11 +40,10 @@ #elif defined(__CYGWIN__) #include #include -#elif defined(__OS2__) -#define INCL_DOS -#include #endif +#include "osdep/osdep.h" + char *get_path(const char *filename){ char *homedir; char *buff;