aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b5ec81e..a4e5dc8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -21,6 +21,8 @@
#include <sibs/SafeSerializer.hpp>
#include <process.hpp>
#include <X11/Xlib.h>
+#include <freetype2/ft2build.h>
+#include <freetype2/freetype/freetype.h>
using namespace std;
using namespace dchat;
@@ -669,6 +671,9 @@ int main(int argc, char **argv)
Channel::getCurrent()->addLocalMessage(msg, Channel::getCurrent()->getSystemUser());
});
+ FT_Library library;
+ FT_Init_FreeType(&library);
+
sf::Event event;
while (window.isOpen())
{