Annotation of pkgsrc/graphics/gnuplot/patches/patch-src_command.c, revision 1.3
1.3 ! adam 1: $NetBSD$
1.1 he 2:
1.3 ! adam 3: Fix for some platforms where WEXITSTATUS gets undefined.
1.1 he 4:
1.3 ! adam 5: --- src/command.c.orig 2017-11-03 14:50:58.000000000 +0000
1.1 he 6: +++ src/command.c
1.3 ! adam 7: @@ -3640,6 +3640,9 @@ do_system_func(const char *cmd, char **o
! 8: #if defined(_WIN32) && !defined(WEXITSTATUS)
! 9: #define WEXITSTATUS(error) (error)
! 10: #endif
! 11: +#if !defined(WEXITSTATUS)
! 12: +#include <sys/wait.h>
! 13: +#endif
! 14:
! 15: static int
! 16: report_error(int ierr)
CVSweb <webmaster@jp.NetBSD.org>