summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 5f53da2..0ceb227 100644
--- a/ruby.c
+++ b/ruby.c
@@ -18,7 +18,6 @@
#include "node.h"
#include <stdio.h>
#include <sys/types.h>
-#include <fcntl.h>
#include <ctype.h>
#ifdef __hpux
@@ -185,7 +184,7 @@ static void
addpath(path)
const char *path;
{
- const char sep = RUBY_PATH_SEP[0];
+ const char sep = PATH_SEP_CHAR;
if (path == 0) return;
#if defined(__CYGWIN32__)