summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man3/encrypt.39
1 files changed, 3 insertions, 6 deletions
diff --git a/man3/encrypt.3 b/man3/encrypt.3
index d30395521..d3552077a 100644
--- a/man3/encrypt.3
+++ b/man3/encrypt.3
@@ -116,14 +116,11 @@ The function is not provided.
You need to link with libcrypt to compile this example with glibc 2.2.
To do useful work the key[] and txt[] arrays must be filled with a
useful bit pattern.
-Note that the <crypt.h> header unconditionally
-gives the prototypes for
-.BR setkey ()
-and
-.BR encrypt ().
.sp
.nf
-#include <crypt.h>
+#define _XOPEN_SOURCE
+#include <unistd.h>
+#include <stdlib.h>
int
main(void)