X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Fprogs.priv.h;h=63ff9a7bedc48649de12211c9d3505da2697ebb6;hp=d445c3366591f7438b8421c6ae83190e1dabd8ec;hb=af4c589f0c605e1a1dd3825678a0b1a97df02d37;hpb=491a3f08b795f494ae17179338c31a11b18fd433 diff --git a/progs/progs.priv.h b/progs/progs.priv.h index d445c336..63ff9a7b 100644 --- a/progs/progs.priv.h +++ b/progs/progs.priv.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * + * Copyright (c) 1998-2008,2011 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -30,7 +30,7 @@ * Author: Thomas E. Dickey 1997-on * ****************************************************************************/ /* - * $Id: progs.priv.h,v 1.33 2007/10/13 20:33:53 tom Exp $ + * $Id: progs.priv.h,v 1.36 2011/06/26 09:31:22 tom Exp $ * * progs.priv.h * @@ -90,6 +90,7 @@ # endif #endif +#include #include #if DECL_ERRNO @@ -98,7 +99,7 @@ extern int errno; #if HAVE_GETOPT_H #include -#else +#elif !defined(HAVE_GETOPT_HEADER) /* 'getopt()' may be prototyped in , but declaring its * variables doesn't hurt. */ @@ -108,6 +109,7 @@ extern int optind; #include #include +#include #include #include