Prepared hexio for somewhat less ad hoc environments.
[hexio] / pcscio.c
index 83f2835..1c217c7 100644 (file)
--- a/pcscio.c
+++ b/pcscio.c
@@ -4,6 +4,7 @@
 #include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <string.h>
 
 #include <sys/types.h>
 #include <sys/select.h>
@@ -85,4 +86,5 @@ int main (int argc, char *argv []) {
                }
        }
        SCardReleaseContext (ctx);
+       return 0;
 }