1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +03:00

delete redundant HAVE_STDLIB_H

libssh2 used this standard C89 header unconditionally before this patch.

Delete the feature checks and all unnecessary header guards.

Closes #913
This commit is contained in:
Viktor Szakats
2023-04-01 23:41:07 +00:00
parent 5f790d24ef
commit cab599120c
15 changed files with 3 additions and 31 deletions

View File

@ -39,9 +39,7 @@
#include <sys/time.h>
#endif
#include <sys/types.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>