Skip to content

Commit

Permalink
Add <cinttypes> include to resolve PRIu32 macro (pytorch#26745)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#26745

This file doesn't appear to be included by default on GCC 7.3 and
causes compilation to fail. Adding this include fixes compilation.

Test Plan: Imported from OSS

Differential Revision: D17566444

Pulled By: pietern

fbshipit-source-id: 9afb3d4596e424efc5a6ea6ab3b1cffdb2b41fbb
  • Loading branch information
pietern authored and facebook-github-bot committed Sep 25, 2019
1 parent bc4519d commit a395c31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once
#include <cmath>
#include <array>
#include <cinttypes>
#include <cmath>
#include <string>

#include <pytorch_qnnpack.h>
Expand Down

0 comments on commit a395c31

Please sign in to comment.