From ddab80126237990e4339f82bf84fcfc4b5990bf1 Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Fri, 4 Jul 2014 17:47:38 +0200 Subject: [PATCH] Include math.h for log() (fix for OSX) --- README.md | 10 +--------- widget/filetransfertwidget.cpp | 1 + 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5f3de5599..d79ac7dc0 100644 --- a/README.md +++ b/README.md @@ -85,15 +85,7 @@ To do this, search for the INCLUDES line and add the following to the end; Save the Makefile. -

Final Steps

- -Open up TextEdit/TextWrangler/etc and open up the widget/filetransfertwidget.cpp file and add the following include; - -```bash -#include -``` - -This will stop toxgui failing to make under OSX. +
Final Steps
The final step is to run ```bash diff --git a/widget/filetransfertwidget.cpp b/widget/filetransfertwidget.cpp index 82ae6575e..5fc699f69 100644 --- a/widget/filetransfertwidget.cpp +++ b/widget/filetransfertwidget.cpp @@ -1,6 +1,7 @@ #include "filetransfertwidget.h" #include "widget.h" #include "core.h" +#include "math.h" #include #include