Define PROG, for newer versions of skalibs

Needed to build from our source tarball on some Gentoo systems.

Closes #239.
Closes #254.
This commit is contained in:
Keegan McAllister
2012-05-01 19:20:46 -04:00
committed by Keith Winstein
parent 7ac8b87b8f
commit 5cff456400
4 changed files with 20 additions and 0 deletions
+5
View File
@@ -30,6 +30,11 @@
#include <curses.h>
#include <term.h>
/* For newer skalibs */
extern "C" {
const char *PROG = "mosh-client";
}
void usage( const char *argv0 ) {
fprintf( stderr, "mosh-client (%s)\n", PACKAGE_STRING );
fprintf( stderr, "Copyright 2012 Keith Winstein <mosh-devel@mit.edu>\n" );