Skip to content

Commit

Permalink
FreeBSD compilation fixes
Browse files Browse the repository at this point in the history
Based on patches provided in audacity#6326, audacity#6327, audacity#6328, audacity#6329
  • Loading branch information
crsib committed Apr 23, 2024
1 parent 3b1a1aa commit 226740d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake-proxies/pffft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions lib-src/libnyquist/nyquist/xlisp/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/

#include <string.h>
#include <stdint.h>

#include "switches.h"
#include "xlisp.h"
Expand Down
5 changes: 5 additions & 0 deletions libraries/lib-basic-ui/BasicUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ Paul Licameli

#include <string>

#ifdef __FreeBSD__
extern char** environ;
#endif


namespace
{

Expand Down
2 changes: 2 additions & 0 deletions src/ListNavigationPanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 226740d

Please sign in to comment.