]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libspl/include/sys/debug.h
Enable compiler to typecheck logging
[mirror_zfs.git] / lib / libspl / include / sys / debug.h
index fde4a012079f4bd3eb06d228848c87790ed4e9cd..c6a8c6784c664e337c262498ff83683fc7927353 100644 (file)
@@ -29,4 +29,8 @@
 
 #include <assert.h>
 
+#ifndef        __printflike
+#define        __printflike(x, y) __attribute__((__format__(__printf__, x, y)))
+#endif
+
 #endif