Skip to content

Commit 9feb5df

Browse files
authored
Fix build on Solaris
The read_common_sizet() is undefined in Solaris.
1 parent 10a3dc5 commit 9feb5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/memusage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#include "memusage.h"
5757
#include "bfind.h"
5858

59-
#if defined(OS_LINUX) || defined(__FreeBSD__)
59+
#if defined(OS_LINUX) || defined(__FreeBSD__) || defined(OS_SOLARIS)
6060
static int read_common_sizet(void *szp, char *strval)
6161
{
6262
char *end;

0 commit comments

Comments
 (0)