Skip to content

Commit e12d13b

Browse files
committed
Fix compilation with embedded libjpeg
1 parent dffe271 commit e12d13b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jpeg/destinationManager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package jpeg
1010
/*
1111
#include <stdlib.h>
1212
#include <stdio.h>
13-
#include <jpeglib.h>
13+
#include "jpeglib.h"
1414
1515
// exported from golang
1616
void destinationInit(struct jpeg_compress_struct*);

jpeg/jpeg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package jpeg
1212
#cgo LDFLAGS: -ljpeg
1313
#include <stdlib.h>
1414
#include <stdio.h>
15-
#include <jpeglib.h>
15+
#include "jpeglib.h"
1616
1717
static J_COLOR_SPACE getJCS_EXT_RGBA(void) {
1818
#ifdef JCS_ALPHA_EXTENSIONS

jpeg/sourceManager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package jpeg
1111
#include <stdlib.h>
1212
#include <stdio.h>
1313
#include <string.h>
14-
#include <jpeglib.h>
14+
#include "jpeglib.h"
1515
1616
// exported from golang
1717
void sourceInit(struct jpeg_decompress_struct*);

0 commit comments

Comments
 (0)