File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,9 @@ branches:
2121 - devel
2222
2323before_install :
24- - wget https://cmocka.org/files/1.0/cmocka-1.0.1.tar.xz
25- - tar -xJvf cmocka-1.0.1.tar.xz
26- - cd cmocka-1.0.1 && mkdir build && cd build
27- - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. && make -j2 && sudo make install
24+ - git clone git://git.cryptomilk.org/projects/cmocka.git
25+ - cd cmocka && mkdir build && cd build
26+ - cmake .. && make -j2 && sudo make install
2827 - cd ../..
2928 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install pcre; brew install valgrind; fi
3029 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; sudo apt-get install -y valgrind; fi
Original file line number Diff line number Diff line change 1515#ifndef LY_TREE_SCHEMA_H_
1616#define LY_TREE_SCHEMA_H_
1717
18- #include <endian.h>
18+ #ifdef __APPLE__
19+ #include <machine/endian.h>
20+ #else
21+ #include <endian.h>
22+ #endif
23+
1924#include <stddef.h>
2025#include <stdint.h>
2126#include <stdio.h>
You can’t perform that action at this time.
0 commit comments