aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/alloc_SUITE_data
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2016-09-18 12:33:08 +0200
committerTuncer Ayaz <[email protected]>2016-09-19 21:39:36 +0200
commit3489b9b689073f428a23f7fc7a67774b7dda07be (patch)
tree11dfe25e02c6176783ded3cebce125a0a0356007 /erts/emulator/test/alloc_SUITE_data
parent687eae1e86817403249f03f534a256a28c5d5251 (diff)
downloadotp-3489b9b689073f428a23f7fc7a67774b7dda07be.tar.gz
otp-3489b9b689073f428a23f7fc7a67774b7dda07be.tar.bz2
otp-3489b9b689073f428a23f7fc7a67774b7dda07be.zip
Use more correct delimiters for erl_nif.h include
Anywhere but the beam sources we shouldn't #include "erl_nif.h", because what "erl_nif.h" does is: (1) fail to find it outside of -I dirs, (2) then treat it as if it was written like <erl_nif.h>. Using <erl_nif.h> skips (1). More information can be found in 6.10.2 of the C standard. Because the examples use "erl_nif.h", NIF projects in the Erlang ecosystem copy this verbatim and make the same mistake.
Diffstat (limited to 'erts/emulator/test/alloc_SUITE_data')
-rw-r--r--erts/emulator/test/alloc_SUITE_data/testcase_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/testcase_driver.h b/erts/emulator/test/alloc_SUITE_data/testcase_driver.h
index f0ca91bd06..2b742dd7e3 100644
--- a/erts/emulator/test/alloc_SUITE_data/testcase_driver.h
+++ b/erts/emulator/test/alloc_SUITE_data/testcase_driver.h
@@ -20,7 +20,7 @@
#ifndef TESTCASE_DRIVER_H__
#define TESTCASE_DRIVER_H__
-#include "erl_nif.h"
+#include <erl_nif.h>
#include <stdlib.h>
typedef struct {