include reordering for XMP_AMIGA. add missing guards to unistd.h.

master
Ozkan Sezer 4 years ago committed by Ozkan Sezer
parent cdd5ff8ed9
commit 21fc2b40e6
  1. 11
      src/commands.c
  2. 4
      src/options.c

@ -6,10 +6,13 @@
* file for more information.
*/
#include <unistd.h>
#include <xmp.h>
#include "common.h"
#if defined(_WIN32) || defined(__OS2__) || defined(__DJGPP__) || defined(_DOS)
#include <conio.h>
#endif
#if defined(XMP_AMIGA)
#ifdef __amigaos4__
#define __USE_INLINE__
@ -17,8 +20,10 @@
#include <proto/exec.h>
#include <proto/dos.h>
#endif
#include <xmp.h>
#include "common.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef __CYGWIN__
#include <sys/select.h>

@ -13,12 +13,16 @@
#include <strings.h>
#endif
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT_LONG)
#include <getopt.h>
#else
#include "getopt_long.h"
#endif
#include <xmp.h>
#include "common.h"

Loading…
Cancel
Save