blob: 5e0e89f2a844f28437724b8cb3aca8eb88fe40f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- pharzip.h.orig 2025-08-19 05:41:37 UTC
+++ pharzip.h
@@ -17,6 +17,10 @@
+----------------------------------------------------------------------+
*/
+/* Add missing include guard to avoid multiple inclusion */
+#ifndef PHAR_PHARZIP_H
+#define PHAR_PHARZIP_H
+
typedef struct _phar_zip_file_header {
char signature[4]; /* local file header signature 4 bytes (0x04034b50) */
char zipversion[2]; /* version needed to extract 2 bytes */
@@ -238,3 +242,5 @@ typedef struct _phar_zip_dir_end {
char comment_len[2]; /* .ZIP file comment length 2 bytes */
/* .ZIP file comment (variable size) */
} phar_zip_dir_end;
+
+#endif /* PHAR_PHARZIP_H */
|