summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 65a03bd17..c6b08c403 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
1#ifndef _DEFINES_H 1#ifndef _DEFINES_H
2#define _DEFINES_H 2#define _DEFINES_H
3 3
4/* $Id: defines.h,v 1.86 2002/04/12 03:35:40 tim Exp $ */ 4/* $Id: defines.h,v 1.87 2002/04/23 10:23:00 djm Exp $ */
5 5
6 6
7/* Constants */ 7/* Constants */
@@ -415,6 +415,10 @@ struct winsize {
415 415
416/* Function replacement / compatibility hacks */ 416/* Function replacement / compatibility hacks */
417 417
418#if !defined(HAVE_GETADDRINFO) && (defined(HAVE_OGETADDRINFO) || defined(HAVE_NGETADDRINFO))
419# define HAVE_GETADDRINFO
420#endif
421
418#ifndef HAVE_GETOPT_OPTRESET 422#ifndef HAVE_GETOPT_OPTRESET
419#define getopt(ac, av, o) BSDgetopt(ac, av, o) 423#define getopt(ac, av, o) BSDgetopt(ac, av, o)
420#endif 424#endif