diff options
Diffstat (limited to 'include/X11/Xfuncproto.h.in')
-rw-r--r-- | include/X11/Xfuncproto.h.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/X11/Xfuncproto.h.in b/include/X11/Xfuncproto.h.in index b88493d..3259366 100644 --- a/include/X11/Xfuncproto.h.in +++ b/include/X11/Xfuncproto.h.in @@ -48,8 +48,9 @@ in this Software without prior written authorization from The Open Group. #endif /* _Xconst */ /* Function prototype configuration (see configure for more info) */ -#ifndef NARROWPROTO -#undef NARROWPROTO +#if !defined(NARROWPROTO) && \ + (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) +#define NARROWPROTO #endif #ifndef FUNCPROTO #undef FUNCPROTO |