summaryrefslogtreecommitdiff
path: root/tests/aplwc_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/aplwc_eval.c')
-rw-r--r--tests/aplwc_eval.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/aplwc_eval.c b/tests/aplwc_eval.c
index deb1610..bb90104 100644
--- a/tests/aplwc_eval.c
+++ b/tests/aplwc_eval.c
@@ -17,9 +17,8 @@
* along with aplwc. If not, see <https://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include <os.h>
+#include <os_main.h>
#include <aplwc.h>
static void *
@@ -37,7 +36,7 @@ my_dealloc(void *p)
}
int
-main(int argc, char *argv[])
+portable_main(int argc, char *argv[])
{
char *input;
struct aplwc *aplwc;