Skip to content
Snippets Groups Projects
Commit 4191cfb8 authored by Dmitry Vedenko's avatar Dmitry Vedenko
Browse files

FreeBSD compilation fixes

Based on patches provided in #6326, #6327, #6328, #6329
parent 3b1a1aac
No related branches found
No related tags found
No related merge requests found
...@@ -13,3 +13,4 @@ set(INCLUDES ...@@ -13,3 +13,4 @@ set(INCLUDES
set_target_properties( ${TARGET} PROPERTIES FOLDER "lib-src" ) set_target_properties( ${TARGET} PROPERTIES FOLDER "lib-src" )
target_sources( ${TARGET} PRIVATE ${SOURCES} ) target_sources( ${TARGET} PRIVATE ${SOURCES} )
target_include_directories( ${TARGET} PUBLIC ${INCLUDES} ) target_include_directories( ${TARGET} PUBLIC ${INCLUDES} )
set_property(TARGET ${TARGET} PROPERTY POSITION_INDEPENDENT_CODE ON)
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
*/ */
#include <string.h> #include <string.h>
#include <stdint.h>
#include "switches.h" #include "switches.h"
#include "xlisp.h" #include "xlisp.h"
......
...@@ -29,6 +29,11 @@ Paul Licameli ...@@ -29,6 +29,11 @@ Paul Licameli
#include <string> #include <string>
#ifdef __FreeBSD__
extern char** environ;
#endif
namespace namespace
{ {
......
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
#include <wx/window.h> #include <wx/window.h>
#include <wx/containr.h> #include <wx/containr.h>
#ifndef __FreeBSD__
extern template class WXDLLIMPEXP_CORE wxNavigationEnabled<wxWindow>; extern template class WXDLLIMPEXP_CORE wxNavigationEnabled<wxWindow>;
#endif
#include "ListNavigationEnabled.h" #include "ListNavigationEnabled.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment