changeset 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 6f68476cced7
children d50e20b4e441
files get_path.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
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;