Skip to content
Snippets Groups Projects
Commit 043847b1 authored by Or Cohen's avatar Or Cohen
Browse files

runtime: stub for utimes

Needed for SSHD when using sshfs
parent b8c07f4e
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "smp.hh" #include "smp.hh"
#include "bsd/sys/sys/sysctl.h" #include "bsd/sys/sys/sysctl.h"
#include <osv/power.hh> #include <osv/power.hh>
#include <sys/time.h>
#define __LC_LAST 13 #define __LC_LAST 13
...@@ -360,3 +361,9 @@ int get_nprocs() ...@@ -360,3 +361,9 @@ int get_nprocs()
{ {
return sysconf(_SC_NPROCESSORS_ONLN); return sysconf(_SC_NPROCESSORS_ONLN);
} }
int utimes (const char *, const struct timeval [2])
{
// FIXME This is just a stub
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment