Fix build issues on Mac OS X 10.4.0.
This commit is contained in:
parent
d5739efd2c
commit
78e4cb67d0
|
@ -64,12 +64,12 @@
|
||||||
/* Define this to use Alt for Mode_switch. */
|
/* Define this to use Alt for Mode_switch. */
|
||||||
#define ALT_IS_MODE_SWITCH 1
|
#define ALT_IS_MODE_SWITCH 1
|
||||||
|
|
||||||
#include <drivers/event_status_driver.h>
|
|
||||||
#include <IOKit/hidsystem/ev_keymap.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <IOKit/hidsystem/event_status_driver.h>
|
||||||
|
#include <IOKit/hidsystem/ev_keymap.h>
|
||||||
#include <architecture/byte_order.h> // For the NXSwap*
|
#include <architecture/byte_order.h> // For the NXSwap*
|
||||||
#include "darwin.h"
|
#include "darwin.h"
|
||||||
#include "darwinKeyboard.h"
|
#include "darwinKeyboard.h"
|
||||||
|
|
|
@ -223,7 +223,7 @@ hash_table_modify (x_hash_table *h, void *k, void *v, int replace)
|
||||||
{
|
{
|
||||||
hash_table_destroy_item (h, ITEM_KEY (item),
|
hash_table_destroy_item (h, ITEM_KEY (item),
|
||||||
ITEM_VALUE (item));
|
ITEM_VALUE (item));
|
||||||
ITEM_KEY (item) = k;
|
item->next = k;
|
||||||
ITEM_VALUE (item) = v;
|
ITEM_VALUE (item) = v;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue