[Build] Link to execinfo also with OpenBSD

[ci skip]
remotes/origin/falkon
David Rosca 12 years ago
parent 34feb19dab
commit 79a81a5f8a
  1. 4
      src/lib/3rdparty/processinfo.cpp
  2. 5
      src/lib/3rdparty/processinfo.h
  3. 2
      src/lib/lib.pro

@ -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>

@ -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…
Cancel
Save