~ubuntu-branches/ubuntu/precise/libmtp/precise-proposed

« back to all changes in this revision

Viewing changes to examples/albumart.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2009-12-14 22:32:10 UTC
  • mto: (16.1.3 sid) (0.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20091214223210-vekc5340wzmz54bw
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
20
 * Boston, MA 02111-1307, USA.
21
21
 */
 
22
#include "config.h"
22
23
#include "common.h"
23
24
#include "string.h"
24
25
#include <stdlib.h>
28
29
#include <errno.h>
29
30
#include <sys/stat.h>
30
31
#include <sys/types.h>
 
32
#ifdef HAVE_SYS_UIO_H
31
33
#include <sys/uio.h>
 
34
#endif
32
35
 
33
36
static void usage(void) {
34
37
  printf("Usage: albumart -i <fileid/trackid> -n <albumname> <imagefile>\n");