1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 02:02:10 +02:00

[Build] Link to execinfo also with OpenBSD

[ci skip]
This commit is contained in:
David Rosca 2014-05-03 10:34:17 +02:00
parent 34feb19dab
commit 79a81a5f8a
3 changed files with 5 additions and 6 deletions

View File

@ -18,9 +18,9 @@
#include "processinfo.h"
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <iostream>
#include <cstdio>

View File

@ -18,8 +18,8 @@
#ifndef PROCESSINFO_H
#define PROCESSINFO_H
#ifdef Q_OS_UNIX
#include <unistd.h>
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
#include <sys/types.h>
#endif
#include <QString>
@ -41,7 +41,6 @@ public:
private:
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
bool IsNumeric(const char* ccharptr_CharacterList) const;
pid_t GetPIDbyName(const char* cchrptr_ProcessName) const;
#endif

View File

@ -532,7 +532,7 @@ os2 {
LIBS += -lcrypto
}
freebsd-* {
openbsd-*|freebsd-* {
LIBS += -lexecinfo
}