]> Zhao Yanbai Git Server - minix.git/commitdiff
select.h should include <sys.time.h>. Added struct svrqueryparam to svrctl.h.
authorPhilip Homburg <philip@cs.vu.nl>
Tue, 28 Jun 2005 15:01:55 +0000 (15:01 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Tue, 28 Jun 2005 15:01:55 +0000 (15:01 +0000)
include/sys/select.h
include/sys/svrctl.h

index 7e6feacb2db6030b658e786ff7ceade3f7b8b096..81d6e5486c3053e8bbaa477c38920139154c749c 100755 (executable)
@@ -4,7 +4,7 @@
 
 #ifdef _POSIX_SOURCE
 
-#include <time.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <limits.h>
 
index bf8746b92fbce51b62c2a8d50fab6100e8ab24da..90291897bc6b9af551d3cbc3d4c4bba538e1da86 100755 (executable)
@@ -35,6 +35,13 @@ struct mmswapon {
        char            file[128];      /* Name of swap file/device. */
 };
 
+struct svrqueryparam {
+       char            *param;         /* Names of parameters to query. */
+       size_t          psize;          /* Length of param[]. */
+       char            *value;         /* To return values. */
+       size_t          vsize;
+};
+
 /* A proper system call must be created later. */
 #include "/usr/src/servers/fs/dmap.h"
 struct fssignon {