Skip to content

Commit

Permalink
Replaced the references to sysinfo.h, declared the function locally
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Apr 5, 2024
1 parent a712078 commit 9f2fb72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osd/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <sys/mman.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/sysinfo.h>
#include <sys/types.h>

#ifdef __cplusplus
Expand Down Expand Up @@ -91,6 +90,8 @@ extern "C"
short width, height;
} RECT;

int sysinfo(struct sysinfo *);

static void fatal(const char *message)
{
fprintf(stderr, "%s\n", message);
Expand Down

0 comments on commit 9f2fb72

Please sign in to comment.