mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01: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"
|
||||
|
||||
#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>
|
||||
|
|
5
src/lib/3rdparty/processinfo.h
vendored
5
src/lib/3rdparty/processinfo.h
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -532,7 +532,7 @@ os2 {
|
|||
LIBS += -lcrypto
|
||||
}
|
||||
|
||||
freebsd-* {
|
||||
openbsd-*|freebsd-* {
|
||||
LIBS += -lexecinfo
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user