bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] avoid new build failure on a system without <crypt.h>


From: Jim Meyering
Subject: [PATCH] avoid new build failure on a system without <crypt.h>
Date: Fri, 13 May 2011 12:30:30 +0200

FYI, the nixos/hydra autobuilder informed me that gzip failed to
build on Darwin, due to a stray inclusion of crypt.h.

Darwin doesn't provide /usr/include/crypt.h, while other
systems I tested do.  Here's the fix:

>From 274361612fb15ed7529460b8f1e6cad010ab5f3f Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 13 May 2011 12:28:31 +0200
Subject: [PATCH] avoid new build failure on a system without <crypt.h>

* bits.c: Don't include "crypt.h", now that it's deleted.
---
 bits.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/bits.c b/bits.c
index 6db2caa..04553f4 100644
--- a/bits.c
+++ b/bits.c
@@ -67,7 +67,6 @@
 #include <config.h>
 #include "tailor.h"
 #include "gzip.h"
-#include "crypt.h"

 #ifdef DEBUG
 #  include <stdio.h>
--
1.7.5.1.398.g86d1d



reply via email to

[Prev in Thread] Current Thread [Next in Thread]