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:
parent
34feb19dab
commit
79a81a5f8a
4
src/lib/3rdparty/processinfo.cpp
vendored
4
src/lib/3rdparty/processinfo.cpp
vendored
|
@ -18,9 +18,9 @@
|
||||||
#include "processinfo.h"
|
#include "processinfo.h"
|
||||||
|
|
||||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
||||||
#include <dirent.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <dirent.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
5
src/lib/3rdparty/processinfo.h
vendored
5
src/lib/3rdparty/processinfo.h
vendored
|
@ -18,8 +18,8 @@
|
||||||
#ifndef PROCESSINFO_H
|
#ifndef PROCESSINFO_H
|
||||||
#define PROCESSINFO_H
|
#define PROCESSINFO_H
|
||||||
|
|
||||||
#ifdef Q_OS_UNIX
|
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
||||||
#include <unistd.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
@ -41,7 +41,6 @@ public:
|
||||||
private:
|
private:
|
||||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
||||||
bool IsNumeric(const char* ccharptr_CharacterList) const;
|
bool IsNumeric(const char* ccharptr_CharacterList) const;
|
||||||
|
|
||||||
pid_t GetPIDbyName(const char* cchrptr_ProcessName) const;
|
pid_t GetPIDbyName(const char* cchrptr_ProcessName) const;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -532,7 +532,7 @@ os2 {
|
||||||
LIBS += -lcrypto
|
LIBS += -lcrypto
|
||||||
}
|
}
|
||||||
|
|
||||||
freebsd-* {
|
openbsd-*|freebsd-* {
|
||||||
LIBS += -lexecinfo
|
LIBS += -lexecinfo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user