ksh: Drop support for systems without <stddef.h>
No functional change.
This commit is contained in:
parent
6f9fbdf520
commit
ba6c50ffa7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: config.h,v 1.20 2017/06/22 23:17:50 kamil Exp $ */
|
||||
/* $NetBSD: config.h,v 1.21 2017/06/22 23:19:53 kamil Exp $ */
|
||||
|
||||
/* config.h. Generated automatically by configure. */
|
||||
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||
|
@ -289,9 +289,6 @@
|
|||
/* Define if you have the <paths.h> header file. */
|
||||
#define HAVE_PATHS_H 1
|
||||
|
||||
/* Define if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: sh.h,v 1.14 2017/06/22 23:17:50 kamil Exp $ */
|
||||
/* $NetBSD: sh.h,v 1.15 2017/06/22 23:19:53 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* Public Domain Bourne/Korn shell
|
||||
*/
|
||||
|
||||
/* $Id: sh.h,v 1.14 2017/06/22 23:17:50 kamil Exp $ */
|
||||
/* $Id: sh.h,v 1.15 2017/06/22 23:19:53 kamil Exp $ */
|
||||
|
||||
#include "config.h" /* system and option configuration info */
|
||||
|
||||
|
@ -19,10 +19,7 @@
|
|||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <setjmp.h>
|
||||
#ifdef HAVE_STDDEF_H
|
||||
# include <stddef.h>
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue