]> git.sur5r.net Git - gsconf/blobdiff - shell.h
A bunch of fixes for various compiler warnings
[gsconf] / shell.h
diff --git a/shell.h b/shell.h
index 111487b425c6dfb86c2aa4dcfd42afc8f1aa809c..c243db647b009068695a71237821b1442b1cadc5 100644 (file)
--- a/shell.h
+++ b/shell.h
@@ -1,12 +1,15 @@
 #ifndef SHELL_H
 #define SHELL_H
 
+#define _BSD_SOURCE
+
 #include <stdio.h>
 #include "socket.h"
 
 #include "gs105e.h"
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #include <pwd.h>
 
@@ -19,5 +22,6 @@ void printError(int errCode);
 void printIp(char * data);
 void shell_port(char ** argv, int elem);
 void shell_sys(char ** argv, int elem);
+void shell_vlan(char **argv, int elem);
 
 #endif