Fix FreeBSD compilation

This commit is contained in:
Christophe Dumez
2011-01-15 09:33:37 +00:00
parent 74e2339bc8
commit c19db4fa04
6 changed files with 17 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
#include <QSet>
#include <iostream>
#include <errno.h>
#ifdef Q_WS_MAC
#if defined(Q_WS_MAC) || defined(Q_OS_FREEBSD)
#include <sys/param.h>
#include <sys/mount.h>
#include <string.h>

View File

@@ -60,7 +60,7 @@ const int UNLEN = 256;
#endif
#ifndef Q_WS_WIN
#ifdef Q_WS_MAC
#if defined(Q_WS_MAC) || defined(Q_OS_FREEBSD)
#include <sys/param.h>
#include <sys/mount.h>
#else