diff get_path.c @ 30838:0bb5a351cdd7

Include osdep/osdep.h instead of checking a platfrom specific macro to include a platform specific header.
author komh
date Wed, 10 Mar 2010 10:00:59 +0000
parents 60ad8ca441dc
children 72ae3dd3aa6e
line wrap: on
line diff
--- 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 <windows.h>
 #include <sys/cygwin.h>
-#elif defined(__OS2__)
-#define INCL_DOS
-#include <os2.h>
 #endif
 
+#include "osdep/osdep.h"
+
 char *get_path(const char *filename){
 	char *homedir;
 	char *buff;