Change-Id: I924d5af294cd5daf17c73f71803f060cea3c3d8b
*/
#define _POSIX_C_SOURCE 2
-#define _MINIX_SOURCE
+#define _NETBSD_SOURCE 1
#include <errno.h>
#include <fcntl.h>
* 7 Dec 1996
*/
-#define _MINIX_SOURCE
-#define _MINIX 1
-
#define nil ((void*)0)
#include <sys/types.h>
#include <stdio.h>
Adapted to POSIX 1003.2 by Philip Homburg.
*/
-#ifdef __minix_vmd
-#define _MINIX_SOURCE
-#endif
-
#include <assert.h>
#include <ctype.h>
#include <errno.h>
Created: June 1995 by Philip Homburg <philip@f-mnx.phicoh.com>
*/
-#define _MINIX_SOURCE
#define _POSIX_C_SOURCE 2
+#define _NETBSD_SOURCE 1
#include <inet/inet.h>
#undef printf
Created: March 2001 by Philip Homburg <philip@f-mnx.phicoh.com>
*/
-#define _MINIX_SOURCE
#define _POSIX_C_SOURCE 2
+#define _NETBSD_SOURCE 1
#include <inet/inet.h>
#undef printf
/* execve() - basic program execution call Author: Kees J. Bot
* 21 Jan 1994
*/
-#define _MINIX_SOURCE
#include <sys/cdefs.h>
#include "namespace.h"
.SH SYNTAX
.ft B
.nf
-#define _MINIX_SOURCE 1
+#define _NETBSD_SOURCE 1
#include <unistd.h>
#include "inet.h"
-#define _MINIX_SOURCE 1
-
#include <fcntl.h>
#include <unistd.h>
#include <sys/svrctl.h>
Copyright 1995 Philip Homburg
*/
-#define _MINIX_SOURCE 1
-
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
Copyright 1995 Philip Homburg
*/
-#define _MINIX_SOURCE 1
#define _POSIX_SOURCE 1
+#define _NETBSD_SOURCE 1
#include <stdlib.h>
#include <unistd.h>