Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cache: ccache
sudo: required
env:
- CHECK_LICENSES=1
- CPPLINT=1
- WITH_LIBDE265= WITH_GRAPHICS=
- WITH_LIBDE265= WITH_GRAPHICS=1
- WITH_LIBDE265=1 WITH_GRAPHICS=1
Expand All @@ -19,6 +20,8 @@ matrix:
exclude:
- compiler: clang
env: CHECK_LICENSES=1
- compiler: clang
env: CPPLINT=1
- compiler: clang
env: EMSCRIPTEN_VERSION=1.37.26
- compiler: clang
Expand Down
2 changes: 2 additions & 0 deletions CPPLINT.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set noparent
filter=-,+build/include_what_you_use
9 changes: 8 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
#
# HEIF codec.
Expand All @@ -19,6 +19,13 @@ set -eu
# You should have received a copy of the GNU General Public License
# along with libheif. If not, see <http://www.gnu.org/licenses/>.
#
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ -d "$ROOT/.git/hooks" ]; then
echo "Installing pre-commit hook ..."
ln -sf "$ROOT/scripts/pre-commit.hook" "$ROOT/.git/hooks/pre-commit"
fi

if [ -x "`which autoreconf 2>/dev/null`" ] ; then
exec autoreconf -ivf
fi
Expand Down
2 changes: 2 additions & 0 deletions examples/encoder_jpeg.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#include <jpeglib.h>

#include <string>

#include "encoder.h"

class JpegEncoder : public Encoder {
Expand Down
2 changes: 2 additions & 0 deletions examples/encoder_png.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef EXAMPLE_ENCODER_PNG_H
#define EXAMPLE_ENCODER_PNG_H

#include <string>

#include "encoder.h"

class PngEncoder : public Encoder {
Expand Down
Loading