Skip to content

Commit

Permalink
fix uptime() for win
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani committed Jan 4, 2025
1 parent dd4beb7 commit 829d47f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chsql_system_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@

#include <fstream>
#include <sstream>
#include <unistd.h>
#if defined(__linux__)
#include <unistd.h>
#include <sys/sysinfo.h>
#include <iterator>
#elif defined(_WIN32)
#include <windows.h>
#elif defined(__APPLE__)
#include <unistd.h>
#include <sys/sysctl.h>
#include <sys/time.h>
#include <time.h>
Expand Down

0 comments on commit 829d47f

Please sign in to comment.