Blame 0999-firstboot-Include-crypt.h-for-declaration-of-crypt-i.patch
|
Björn Esser |
3595fb |
From 1f9a592cbfd02e9ecea63abb31d6f34d0b85d498 Mon Sep 17 00:00:00 2001
|
|
Björn Esser |
3595fb |
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
|
|
Björn Esser |
3595fb |
Date: Sun, 21 Jan 2018 14:59:38 +0100
|
|
Björn Esser |
3595fb |
Subject: [PATCH] firstboot: Include <crypt.h> for declaration of crypt() if
|
|
Björn Esser |
3595fb |
needed
|
|
Björn Esser |
3595fb |
|
|
Björn Esser |
3595fb |
---
|
|
Björn Esser |
3595fb |
src/firstboot/firstboot.c | 4 ++++
|
|
Björn Esser |
3595fb |
1 file changed, 4 insertions(+)
|
|
Björn Esser |
3595fb |
|
|
Björn Esser |
3595fb |
Index: systemd-3e14c4c1876b4dfeb8bf511185f70fef8d04a153/src/firstboot/firstboot.c
|
|
Björn Esser |
3595fb |
===================================================================
|
|
Björn Esser |
3595fb |
--- systemd-3e14c4c1876b4dfeb8bf511185f70fef8d04a153.orig/src/firstboot/firstboot.c
|
|
Björn Esser |
3595fb |
+++ systemd-3e14c4c1876b4dfeb8bf511185f70fef8d04a153/src/firstboot/firstboot.c
|
|
Björn Esser |
3595fb |
@@ -23,6 +23,10 @@
|
|
Björn Esser |
3595fb |
#include <shadow.h>
|
|
Björn Esser |
3595fb |
#include <unistd.h>
|
|
Björn Esser |
3595fb |
|
|
Björn Esser |
3595fb |
+#ifndef _XOPEN_CRYPT
|
|
Björn Esser |
3595fb |
+#include <crypt.h>
|
|
Björn Esser |
3595fb |
+#endif
|
|
Björn Esser |
3595fb |
+
|
|
Björn Esser |
3595fb |
#include "alloc-util.h"
|
|
Björn Esser |
3595fb |
#include "ask-password-api.h"
|
|
Björn Esser |
3595fb |
#include "copy.h"
|