From 3b6b2d8f43af81faa7eb88a7b8a9e1ffc2312824 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 26 Feb 2017 01:03:29 -0800 Subject: [PATCH] Added include for errno.h to resolve a compiler error only realized on: armeabi-v7a APP_PLATFORM=android-19 OS: Ubuntu 16.10 latest NDK Fix tested on platforms: SM-T230NU Tab 4 7" Android 4.42 Acheron Rom (root off) SM-T800 Tab S 10.5" Android 5.11 CyanogenMod (root off) SM-N920A Note 5 Android 6.01 pre Nov 1 2016 security patch --- dirtycow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dirtycow.c b/dirtycow.c index fed0ecc..423e92d 100644 --- a/dirtycow.c +++ b/dirtycow.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -306,4 +307,4 @@ int dcow(int argc, const char * argv[]) } return 0; -} \ No newline at end of file +}