update readme
[m6w6/ext-psi] / src / types / decl_union.c
index a2daf2cd977ee82b67e6e3cd9072946b36f93e70..2c0b73db2505eb91f1643ad5515ad8a1195680c8 100644 (file)
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *******************************************************************************/
 
-#include "php_psi_stdinc.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
+# include "php_config.h"
+#endif
 #include "data.h"
 
 #include <assert.h>
@@ -56,7 +60,7 @@ void psi_decl_union_dump(struct psi_dump *dump, struct psi_decl_union *unn)
 {
        PSI_DUMP(dump, "union %s::(%zu, %zu)", unn->name->val, unn->align, unn->size);
        if (psi_plist_count(unn->args)) {
-               psi_decl_type_dump_args_with_layout(fd, unn->args, 0);
+               psi_decl_type_dump_args_with_layout(dump, unn->args, 0);
        } else {
                PSI_DUMP(dump, ";");
        }