use unistd.h instead of getopt.h

getopt.h doesn't exist on AIX and getopt is in unistd.h
This commit is contained in:
Anton Lundin
2012-11-30 00:54:10 +01:00
parent f1a4e209b6
commit 55eb2759c0
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <unistd.h>
#include "stmclient.h"
#include "crypto.h"
-1
View File
@@ -51,7 +51,6 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <getopt.h>
#include <time.h>
#include <sys/stat.h>