diff liboctave/lo-cutils.c @ 5453:89f5979e8552

[project @ 2005-09-17 00:50:58 by jwe]
author jwe
date Sat, 17 Sep 2005 00:50:58 +0000
parents ed08548b9054
children 143b556ce725
line wrap: on
line diff
--- a/liboctave/lo-cutils.c
+++ b/liboctave/lo-cutils.c
@@ -51,6 +51,8 @@
 #include <string.h>
 #include <time.h>
 
+#include "syswait.h"
+
 void
 octave_qsort (void *base, size_t n, size_t size,
 	      int (*cmp) (const void *, const void *))
@@ -100,12 +102,19 @@
 #include <windows.h>
 
 /* Need this since in C++ can't cast from int(*)() to void* */
-void * octave_w32_library_search (HINSTANCE handle, const char * name)
+void *
+octave_w32_library_search (HINSTANCE handle, const char * name)
 {
   return (GetProcAddress (handle, name));
 }
 #endif
 
+pid_t
+octave_waitpid (pid_t pid, int *status, int options)
+{
+  return WAITPID (pid, status, options);
+}
+
 /*
 ;;; Local Variables: ***
 ;;; mode: C++ ***