grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] implement grub_millisleep in util/misc.c for grub-emu


From: Robert Millan
Subject: Re: [PATCH] implement grub_millisleep in util/misc.c for grub-emu
Date: Sun, 22 Feb 2009 00:25:30 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Feb 15, 2009 at 07:49:38PM +0100, Felix Zielcke wrote:
> --- util/misc.c       (revision 1996)
> +++ util/misc.c       (working copy)
> @@ -27,6 +27,9 @@
>  #include <sys/time.h>
>  #include <unistd.h>
>  
> +#define _POSIX_C_SOURCE 199309L
> +#include <time.h>

I'm not sure this is garanteed to work unless it's defined before any
header is included.  Did it compile without warnings?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]