3 |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
4 |
* Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc. |
* Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc. |
5 |
* Copyright (C) 2002 Yoshinori K. Okuji <okuji@enbug.org> |
* Copyright (C) 2002 Yoshinori K. Okuji <okuji@enbug.org> |
6 |
|
* Copyright (C) 2003 Marco Gerards <metgerards@student.han.nl> |
7 |
* |
* |
8 |
* PUPA is free software; you can redistribute it and/or modify |
* PUPA is free software; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
27 |
#include <pupa/err.h> |
#include <pupa/err.h> |
28 |
#include <pupa/util/misc.h> |
#include <pupa/util/misc.h> |
29 |
|
|
|
/* Try to use glibc's transparant LFS support. */ |
|
|
#define _LARGEFILE_SOURCE 1 |
|
|
/* lseek becomes synonymous with lseek64. */ |
|
|
#define _FILE_OFFSET_BITS 64 |
|
|
|
|
30 |
#include <stdio.h> |
#include <stdio.h> |
31 |
#include <stdlib.h> |
#include <stdlib.h> |
32 |
#include <string.h> |
#include <string.h> |