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