diff --git a/cmake-proxies/pffft/CMakeLists.txt b/cmake-proxies/pffft/CMakeLists.txt index cfeba12d8687c1811cbc03357a6c04a6526a9217..11525efa9b5951b6a5a94be5b07f8fee1fa64684 100644 --- a/cmake-proxies/pffft/CMakeLists.txt +++ b/cmake-proxies/pffft/CMakeLists.txt @@ -13,3 +13,4 @@ set(INCLUDES set_target_properties( ${TARGET} PROPERTIES FOLDER "lib-src" ) target_sources( ${TARGET} PRIVATE ${SOURCES} ) target_include_directories( ${TARGET} PUBLIC ${INCLUDES} ) +set_property(TARGET ${TARGET} PROPERTY POSITION_INDEPENDENT_CODE ON) diff --git a/lib-src/libnyquist/nyquist/xlisp/path.c b/lib-src/libnyquist/nyquist/xlisp/path.c index 41babde8d8c26714f460ee667d73e5bdaac1503b..67fbb03fa4379477f795e0f3c276031e446fe7cd 100644 --- a/lib-src/libnyquist/nyquist/xlisp/path.c +++ b/lib-src/libnyquist/nyquist/xlisp/path.c @@ -25,6 +25,7 @@ */ #include <string.h> +#include <stdint.h> #include "switches.h" #include "xlisp.h" diff --git a/libraries/lib-basic-ui/BasicUI.cpp b/libraries/lib-basic-ui/BasicUI.cpp index dca8c180c6cdc60c823b5227fe898099ffa35c18..947c5600ea4563d40fb66d1a9e829c9f32d1018f 100644 --- a/libraries/lib-basic-ui/BasicUI.cpp +++ b/libraries/lib-basic-ui/BasicUI.cpp @@ -29,6 +29,11 @@ Paul Licameli #include <string> +#ifdef __FreeBSD__ +extern char** environ; +#endif + + namespace { diff --git a/src/ListNavigationPanel.h b/src/ListNavigationPanel.h index 1618d7865e1c0c345be74290129b756b7f20de1e..509fd0e6c752b5dfb58bc72873e2a971f59cd9b3 100644 --- a/src/ListNavigationPanel.h +++ b/src/ListNavigationPanel.h @@ -13,7 +13,9 @@ #include <wx/window.h> #include <wx/containr.h> +#ifndef __FreeBSD__ extern template class WXDLLIMPEXP_CORE wxNavigationEnabled<wxWindow>; +#endif #include "ListNavigationEnabled.h"