Code

upload-pack.c: <sys/poll.h> includes <ctype.h> on OpenBSD 3.8
authorJunio C Hamano <junkio@cox.net>
Fri, 30 Jun 2006 18:30:29 +0000 (11:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 1 Jul 2006 00:25:20 +0000 (17:25 -0700)
commite3a56298135ed4cce302e7da792793d3e5623c29
tree4525a6f8b2357b3cc03e771fcbbe3023de600239
parentfc046a75d539a78e6b2c16534c4078617a69a327
upload-pack.c: <sys/poll.h> includes <ctype.h> on OpenBSD 3.8

Merlyn reports that <sys/poll.h> on OpenBSD 3.8 includes <ctype.h>
and having our custom ctype (done in git-compat-util.h which is
included via cache.h) makes upload-pack.c uncompilable.  Try to
work it around by including the system headers first.

Signed-off-by: Junio C Hamano <junkio@cox.net>
upload-pack.c