diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-30 15:27:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-30 15:27:18 +0200 |
commit | fda1aa1b784eb587e2129f4d2ddaa951c7b86b2f (patch) | |
tree | d923c1f4a14a3d6775cb5eb68bfecfafb8a50cf7 | |
parent | whitespace (diff) | |
download | slibc-fda1aa1b784eb587e2129f4d2ddaa951c7b86b2f.tar.gz slibc-fda1aa1b784eb587e2129f4d2ddaa951c7b86b2f.tar.bz2 slibc-fda1aa1b784eb587e2129f4d2ddaa951c7b86b2f.tar.xz |
add missing inclusions of stddef.h to define NULL
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/error.c | 1 | ||||
-rw-r--r-- | src/slibc-error.c | 1 | ||||
-rw-r--r-- | src/string/strerror.c | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c index ee39ccf..eb73276 100644 --- a/src/error.c +++ b/src/error.c @@ -19,6 +19,7 @@ #include <unistd.h> #include <stdio.h> #include <errno.h> +#include <stddef.h> diff --git a/src/slibc-error.c b/src/slibc-error.c index fe2f94b..0680751 100644 --- a/src/slibc-error.c +++ b/src/slibc-error.c @@ -20,6 +20,7 @@ #include <stdio.h> #include <unistd.h> #include <string.h> +#include <stddef.h> diff --git a/src/string/strerror.c b/src/string/strerror.c index 417d622..dd1d142 100644 --- a/src/string/strerror.c +++ b/src/string/strerror.c @@ -16,6 +16,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <string.h> +#include <stddef.h> + /** |