diff options
Diffstat (limited to 'posix/gawkmisc.c')
-rw-r--r-- | posix/gawkmisc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c index 90bf1c38..c90123d2 100644 --- a/posix/gawkmisc.c +++ b/posix/gawkmisc.c @@ -127,7 +127,7 @@ optimal_bufsize(int fd, struct stat *stb) * guess. We use stdio's BUFSIZ, since that is what it was * meant for in the first place. */ -#ifdef HAVE_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE #define DEFBLKSIZE (stb->st_blksize > 0 ? stb->st_blksize : BUFSIZ) #else #define DEFBLKSIZE BUFSIZ @@ -285,6 +285,13 @@ files_are_same(char *path, SRCFILE *src) && st.st_ino == src->sbuf.st_ino); } +#ifdef HAVE_SOCKETS +void +init_sockets(void) +{ +} +#endif + #ifdef __CYGWIN__ void cygwin_premain0(int argc, char **argv, struct per_process *myself) |