inclusion de unistd.h pour regler le pb de getopt sur Solaris et Linux

This commit is contained in:
Franck Wajsburt 2002-05-02 10:40:18 +00:00
parent e26228b51f
commit 69c1e90d1b
1 changed files with 2 additions and 7 deletions

View File

@ -1,9 +1,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// #include <getopt.h>
#include "exp.h"
#include <unistd.h>
#include "ht.h"
#include "exp.h"
void usage (char *av[])
{
@ -20,11 +20,6 @@ void getoption (int ac, char *av[], FILE ** expout, FILE ** expin)
{
char option;
int verbose;
extern char *optarg;
extern long optind;
extern char getopt (long, char **, char *);
*expin = stdin;
*expout = stdout;