Re: 1.3.2.gde1d fails to build on OpenBSD
- From
- Timo Hirvonen <tihirvon@gmail.com>
- Date
- May 15, 2006, 15:58 UTC
- Message-ID
- <20060515185819.ff05f6fe.tihirvon@gmail.com>
- In-Reply-To
- <86psiftlgf.fsf@blue.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) wrote:
Show 11 quoted lines
> > GIT_VERSION = 1.3.2.gde1d > gcc -o sha1_file.o -c -g -O2 -Wall -I/usr/local/include -DSHA1_HEADER='<openssl/sha.h>' -DNO_STRCASESTR sha1_file.c > sha1_file.c:16:20: stdint.h: No such file or directory > gmake: *** [sha1_file.o] Error 1 > > I think you want > > #include <sys/types.h> > > on OpenBSD.
I think it should be #include <inttypes.h>. It works at least on BSD and Linux.
-- http://onion.dynserv.net/~timo/