/*
- * Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 2010, 2013 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include <config.h>
+#if !defined(HAVE_GETPROGNAME) && !defined(HAVE___PROGNAME)
+
#include <sys/types.h>
#include <stdio.h>
{
return progname;
}
+#endif /* !HAVE_GETPROGNAME !HAVE___PROGNAME */