aboutsummaryrefslogtreecommitdiff
path: root/jerry-main
diff options
context:
space:
mode:
authorZsolt Borbély <zsborbely.u-szeged@partner.samsung.com>2017-11-04 00:58:37 +0100
committeryichoi <duddlf.choi@samsung.com>2017-11-04 12:17:59 +0900
commitee24965bcf256fef8b7b850e8ce543dd99979fab (patch)
treefa4adc5f36e6c606ab1b3bad9f74eec478857848 /jerry-main
parent4690d128b344a8169fef0f9e412529d501939e4b (diff)
Add missing headers for srand() to jerry-minimal and riot-stm32f4
A buildoption test is also added to test jerry-cmdline-minimal. JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-main')
-rw-r--r--jerry-main/main-unix-minimal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/jerry-main/main-unix-minimal.c b/jerry-main/main-unix-minimal.c
index bb043888..1fe10fdc 100644
--- a/jerry-main/main-unix-minimal.c
+++ b/jerry-main/main-unix-minimal.c
@@ -13,6 +13,7 @@
* limitations under the License.
*/
+#include <stdlib.h>
#include <string.h>
#include "jerryscript.h"