Skip to content

Commit 40b6ea4

Browse files
Include Foundation framework only on macOS
1 parent ea499a4 commit 40b6ea4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/browser/BrowserShared.mm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717

18-
#include <Foundation/Foundation.h>
19-
2018
#include "BrowserShared.h"
2119

2220
#include "config-keepassx.h"
@@ -27,6 +25,10 @@
2725
#include <QProcessEnvironment>
2826
#endif
2927

28+
#if defined(Q_OS_MACOS)
29+
#include <Foundation/Foundation.h>
30+
#endif
31+
3032
namespace BrowserShared
3133
{
3234
QString localServerPath()

0 commit comments

Comments
 (0)