Commit 3df00f81 authored by Adriaan de Groot's avatar Adriaan de Groot 💬

Handle absent <crypt.h>

The prototype for crypt(3) is in <unistd.h> on Linux and FreeBSD.
The <crypt.h> header isn't needed at all. There's also machinery
for detecting the presence of <crypt.h>, defining HAVE_CRYPT_H,
but we don't need that.

Reported and resolved independently in
	https://phabricator.kde.org/D29847

@nicofe tested that this works on Linux
@adridg tested that this works on FreeBSD
parent 59317865
......@@ -21,8 +21,6 @@
#include "user.h"
#include "user_interface.h"
#include <crypt.h>
#include <unistd.h>
#include <sys/types.h>
#include <QtConcurrent>
......
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