diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-09-06 15:53:53 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2018-09-08 03:16:35 -0400 |
commit | 5fa75ace15367eaedcce2390dafb5001e562abf9 (patch) | |
tree | b9227e1dc9adb134123bb28b616982ad7b99d1e8 /src/webpng.c | |
parent | 486467fc8f67863ac9d191ac52f1ad4c607397aa (diff) | |
download | libgd-5fa75ace15367eaedcce2390dafb5001e562abf9.tar.gz |
Remove HAVE_STRING_H
The C89 and later standard defines the `<string.h>` header as part of
the standard headers [1] and on current systems it is always present
and the `HAVE_STRING_H` symbol can be removed.
Also Autoconf suggests doing this and relying on C89 or above [2] and [3].
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
[3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
Diffstat (limited to 'src/webpng.c')
-rw-r--r-- | src/webpng.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/webpng.c b/src/webpng.c index f7a97ec..a19750a 100644 --- a/src/webpng.c +++ b/src/webpng.c @@ -9,9 +9,7 @@ #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif -#ifdef HAVE_STRING_H #include <string.h> -#endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif |