These headers are in use allover this project without issues.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-#ifdef HAVE_GETOPT_H
#include <getopt.h>
-#else
-extern int getopt(int argc, char * const argv[], const char *optstring);
-extern char *optarg;
-extern int optind;
-#endif
#define OUTPUT_VALUE_ONLY (1 << 1)
#define OUTPUT_DEVICE_ONLY (1 << 2)
* %End-Header%
*/
#include <stdio.h>
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#include <unistd.h>
#include <inttypes.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <string.h>
-#ifdef HAVE_GETOPT_H
#include <getopt.h>
-#else
-extern int getopt(int argc, char * const argv[], const char *optstring);
-extern char *optarg;
-extern int optind;
-#endif
#include "uuid.h"
#include "uuidd.h"
*/
#include <stdio.h>
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
-#ifdef HAVE_GETOPT_H
#include <getopt.h>
-#else
-extern int getopt(int argc, char * const argv[], const char *optstring);
-extern char *optarg;
-extern int optind;
-#endif
#include "uuid.h"
#include "nls.h"