Skip to content

Commit

Permalink
<errno.h> is guaranteed by ISO C
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Colomar <[email protected]>
  • Loading branch information
alejandro-colomar committed Sep 22, 2023
1 parent 3e2d5bf commit 154c282
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions contrib/minizip/unzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@
#include "unzip.h"

#include <stddef.h>
#ifdef NO_ERRNO_H
extern int errno;
#else
# include <errno.h>
#endif
#include <errno.h>


#ifndef local
Expand Down
6 changes: 1 addition & 5 deletions contrib/minizip/zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@
#include "zip.h"

#include <stddef.h>
#ifdef NO_ERRNO_H
extern int errno;
#else
# include <errno.h>
#endif
#include <errno.h>


#ifndef local
Expand Down

0 comments on commit 154c282

Please sign in to comment.