diff ueda/sverp/main.c @ 4:7b4f78fcca08

ueda/sverp Linuxified
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 20 Jul 2015 00:53:19 +0000
parents cd92449fdb51
children
line wrap: on
line diff
--- a/ueda/sverp/main.c	Mon Jul 20 00:45:40 2015 +0000
+++ b/ueda/sverp/main.c	Mon Jul 20 00:53:19 2015 +0000
@@ -3,6 +3,8 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
 #include "struct.h"
 
 struct module_def *glob_module_list, *top_module_def;
@@ -23,7 +25,6 @@
 	char **argv;
 {
 	register int c;
-	extern char *optarg;
 
 	while ((c = getopt(argc, argv, "I:o:p:t:v")) != EOF) {
 		switch (c) {