From fae4762eba9ff7bb466a600130e9c90eaac6b0bc Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 13:14:38 +0300 Subject: Move to gawk-3.1.1. --- awklib/eg/lib/grcat.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'awklib/eg/lib/grcat.c') diff --git a/awklib/eg/lib/grcat.c b/awklib/eg/lib/grcat.c index d34ddd56..802aa639 100644 --- a/awklib/eg/lib/grcat.c +++ b/awklib/eg/lib/grcat.c @@ -8,6 +8,14 @@ * Public Domain */ +/* For OS/2, do nothing. */ +#if HAVE_CONFIG_H +#include +#endif + +#ifndef HAVE_GETPGRENT +int main() { exit(0); } +#else #include #include @@ -32,3 +40,4 @@ char **argv; endgrent(); exit(0); } +#endif /* HAVE_GETPGRENT */ -- cgit v1.2.3