Commit 2382c3f8 authored by Michael Pyne's avatar Michael Pyne
Browse files

Require sys/types.h for dev_t unconditionally.

Fixes a build error with musl libc.  Turns out this is the required
header for dev_t, and not just for FreeBSD.  That it works without on
glibc is just an accident.

Differential Revision: https://phabricator.kde.org/D6596
parent 36166e2d
......@@ -24,9 +24,7 @@
#include <solid/devices/ifaces/block.h>
#include "udisksdeviceinterface.h"
#ifdef Q_OS_FREEBSD
#include <sys/types.h>
#endif
#include <sys/types.h> // dev_t
namespace Solid
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment