On FreeBSD the system malloc is jemalloc and non-portable
extensions are enabled including malloc_np.h.
This commit is contained in:
parent
8069fdd873
commit
59f2f750b4
1 changed files with 5 additions and 0 deletions
|
@ -46,7 +46,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include <QtGui/QWindow>
|
#include <QtGui/QWindow>
|
||||||
|
|
||||||
#include <private/qguiapplication_p.h>
|
#include <private/qguiapplication_p.h>
|
||||||
|
|
||||||
|
#ifdef Q_OS_FREEBSD
|
||||||
|
#include <malloc_np.h>
|
||||||
|
#else // Q_OS_FREEBSD
|
||||||
#include <jemalloc/jemalloc.h>
|
#include <jemalloc/jemalloc.h>
|
||||||
|
#endif // Q_OS_FREEBSD
|
||||||
|
|
||||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||||
#include <glibmm.h>
|
#include <glibmm.h>
|
||||||
|
|
Loading…
Reference in a new issue