X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fbsd-os.c;h=eeaf7550714341d9e680a34efac3d888e87ec11e;hb=31a5540ef1bbe9bb9d31330beb3151d4f93287f4;hp=aa3ae3d52f1c94a69d76b446a7aa66220b9400f8;hpb=8340bf74c31b29e9552ef8f705b6e1298547c6ab;p=sbcl.git diff --git a/src/runtime/bsd-os.c b/src/runtime/bsd-os.c index aa3ae3d..eeaf755 100644 --- a/src/runtime/bsd-os.c +++ b/src/runtime/bsd-os.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include "sbcl.h" @@ -240,7 +241,7 @@ os_install_interrupt_handlers(void) memory_fault_handler); #endif -#ifdef LISP_FEATURE_SB_THREAD +#ifdef THREADS_USING_GCSIGNAL undoably_install_low_level_interrupt_handler(SIG_STOP_FOR_GC, sig_stop_for_gc_handler); #endif @@ -342,6 +343,12 @@ _readdir(DIR *dirp) return readdir(dirp); } +int +_utime(const char *file, const struct utimbuf *timep) +{ + return utime(file, timep); +} + /* Used in sb-bsd-sockets. */ int _socket(int domain, int type, int protocol)