File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ if (MSVC)
516
516
endif ()
517
517
518
518
if (${CMAKE_C_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" )
519
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -W -Wall -Wnonnull -Wshadow -Wformat -Wundef -Wno-unused-parameter -Wmissing-prototypes -Wno-unknown-pragmas -D_GNU_SOURCE -std=c99" )
519
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -W -Wall -Wnonnull -Wshadow -Wformat -Wundef -Wno-unused-parameter -Wmissing-prototypes -Wno-unknown-pragmas -Wno-int-conversion - D_GNU_SOURCE -std=c99" )
520
520
endif ()
521
521
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" )
522
522
add_link_options (-lkvm -lm -lprocstat )
Original file line number Diff line number Diff line change 56
56
#include "memusage.h"
57
57
#include "bfind.h"
58
58
59
- #if defined(OS_LINUX )
59
+ #if defined(OS_LINUX ) || defined( __FreeBSD__ ) || defined( OS_SOLARIS )
60
60
static int read_common_sizet (void * szp , char * strval )
61
61
{
62
62
char * end ;
You can’t perform that action at this time.
0 commit comments