summaryrefslogtreecommitdiff
path: root/png/pngdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'png/pngdebug.h')
-rw-r--r--png/pngdebug.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/png/pngdebug.h b/png/pngdebug.h
index 00d5a4569..af1ae9e82 100644
--- a/png/pngdebug.h
+++ b/png/pngdebug.h
@@ -1,7 +1,6 @@
-
-/* pngdebug.h - Debugging macros for libpng, also used in pngtest.c
+/* pngdebug.h - internal debugging macros for libpng
*
- * Copyright (c) 2018 Cosmin Truta
+ * Copyright (c) 2018-2025 Cosmin Truta
* Copyright (c) 1998-2002,2004,2006-2013 Glenn Randers-Pehrson
* Copyright (c) 1996-1997 Andreas Dilger
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -11,6 +10,10 @@
* and license in png.h
*/
+#ifndef PNGPRIV_H
+# error This file must not be included by applications; please include <png.h>
+#endif
+
/* Define PNG_DEBUG at compile time for debugging information. Higher
* numbers for PNG_DEBUG mean more debugging information. This has
* only been added since version 0.95 so it is not implemented throughout