summaryrefslogtreecommitdiff
path: root/ext/fcntl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fcntl')
-rw-r--r--ext/fcntl/depend2
-rw-r--r--ext/fcntl/fcntl.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/fcntl/depend b/ext/fcntl/depend
index a7915c7..10eab64 100644
--- a/ext/fcntl/depend
+++ b/ext/fcntl/depend
@@ -1 +1 @@
-fcntl.o: fcntl.c $(hdrdir)/ruby.h $(hdrdir)/config.h $(hdrdir)/defines.h
+fcntl.o: fcntl.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
diff --git a/ext/fcntl/fcntl.c b/ext/fcntl/fcntl.c
index 186f9ac..80e0112 100644
--- a/ext/fcntl/fcntl.c
+++ b/ext/fcntl/fcntl.c
@@ -34,6 +34,7 @@ pack up your own arguments to pass as args for locking functions, etc.
#include "ruby.h"
#include <fcntl.h>
+void
Init_fcntl()
{
VALUE mFcntl = rb_define_module("Fcntl");