Bug 1106551: Include sys/mount.h only in the linux quota case r=froydnj

Fixes build on OpenBSD where you cant include sys/mount.h alone, you
also need sys/param.h
This commit is contained in:
Landry Breuil 2014-12-05 15:46:53 +01:00
parent f6451c48cc
commit 4b139c06f8

View File

@ -11,7 +11,6 @@
#include "mozilla/ArrayUtils.h"
#include "mozilla/Attributes.h"
#include <sys/mount.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
@ -27,6 +26,7 @@
#if defined(HAVE_SYS_QUOTA_H) && defined(HAVE_LINUX_QUOTA_H)
#define USE_LINUX_QUOTACTL
#include <sys/mount.h>
#include <sys/quota.h>
#endif