Skip to content

Commit 7136251

Browse files
committed
Fixing headers.
1 parent 7fdc7ba commit 7136251

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

torchvision/csrc/io/image/cpu/jpegcommon.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#pragma once
22

33
#if JPEG_FOUND
4+
#include <stdio.h>
5+
46
#include <jpeglib.h>
57
#include <setjmp.h>
68
#endif

torchvision/csrc/io/image/cpu/writejpeg_impl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "writejpeg_impl.h"
2+
23
#include "jpegcommon.h"
34

45
namespace vision {

torchvision/csrc/io/image/cpu/writepng_impl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "writejpeg_impl.h"
2+
23
#include "pngcommon.h"
34

45
namespace vision {

0 commit comments

Comments
 (0)