summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-12-17 12:04:08 +0100
committerDarren Tucker <dtucker@zip.com.au>2005-12-17 12:04:08 +0100
commit98cfc4ce9d2a6f34b63f1354f3149b501398a160 (patch)
tree0ac68f0804867b2e68691f99d576facda0761418 /defines.h
parent - dtucker@cvs.openbsd.org 2005/12/30 04:36:39 (diff)
downloadopenssh-98cfc4ce9d2a6f34b63f1354f3149b501398a160.tar.xz
openssh-98cfc4ce9d2a6f34b63f1354f3149b501398a160.zip
- (dtucker) [defines.h] HP-UX system headers define "YES" and "NO" which
scp.c also uses, so undef them here.
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 92ebd2697..f25934176 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.129 2005/10/09 01:40:04 dtucker Exp $ */
+/* $Id: defines.h,v 1.130 2005/12/17 11:04:09 dtucker Exp $ */
/* Constants */
@@ -715,4 +715,12 @@ struct winsize {
# undef HAVE_MMAP
#endif
+/* some system headers on HP-UX define YES/NO */
+#ifdef YES
+# undef YES
+#endif
+#ifdef NO
+# undef NO
+#endif
+
#endif /* _DEFINES_H */