X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Fnfs%2Fxio.c;h=4a3f18176296c59db7cf91067d7bc0e989a1909b;hb=aaf1ebff9c894f341dfb7db5ced2c47a5d50e750;hp=9bb5100d09f4e392f12a6816ead5c62e17df1c54;hpb=8d53a2630763f8f639d2de2ddd26282bff1c7cad;p=nfs-utils.git diff --git a/support/nfs/xio.c b/support/nfs/xio.c index 9bb5100..4a3f181 100644 --- a/support/nfs/xio.c +++ b/support/nfs/xio.c @@ -6,7 +6,9 @@ * Copyright (C) 1995, 1996 Olaf Kirch */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include @@ -160,7 +162,7 @@ xskip(XFILE *xfp, char *str) int c; while ((c = xgetc(xfp)) != EOF && strchr(str, c)); - ungetc(c, xfp->x_fp); + xungetc(c, xfp); } char